Skip to content

Matplotlib stylesheets to replicate old scientific figure styles

License

Notifications You must be signed in to change notification settings

guillaumedavidphd/oldplotlib

 
 

Repository files navigation

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

Font

This stylesheet uses Futura Std (https://fontsgeek.com/futura-std-font).

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):

About

Matplotlib stylesheets to replicate old scientific figure styles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%