/oldplotlib

Matplotlib stylesheets to replicate old scientific figure styles

Primary LanguagePythonMIT LicenseMIT

oldplotlib

A Matplotlib stylesheet to replicate the figure style of Changeux and Kittel in:

Changeux, J.-P., Thiery, J., Tung, Y. & Kittel, C. ON THE COOPERATIVITY OF BIOLOGICAL MEMBRANES. Proceedings of the National Academy of Sciences 57, 335–341 (1967).

Specifically, the style is to match figure 2:

How to Use

There are two ways to use this stylesheet for your figures

First, download the stylesheet, then

import matplotlib.pyplot as plt
plt.style.use('/path/to/the/oldplotlib.mplstyle')

The second way is a a simple wrapper over matplotlib.pyplot that essentially types the previous option in for you. Instead of doing import matplotlib.pyplot as plt in your file, use

import oldplotlib as plt

Development of oldplotlib

people: @ckinzthompson @korakray

feel free to contribute and/or suggestion new plots styles to emulate

Information:

Current:

Overlap original (red) / oldplotlib (black):