A matplotlibrc file loosely based on BBCplot.
This stylesheet and example are distributed with GPLv3.
- Determine your
matplotlibconfiguration file path:
import matplotlib as mpl
print(mpl.get_configdir()) # Let's call this MPL_CONFIGDIR for now
-
mkdir MPL_CONFIGDIR/stylelib -
Copy
bbc.mplstyletoMPL_CONFIGDIR/stylelib -
Use like any other stylesheet from
matplotlib
import matplotlib.pyplot as plt
plt.style.use("bbc")
See the example plot.py script and have fun!