A matplotlibrc file loosely based on BBCplot.
This stylesheet and example are distributed with GPLv3.
- Determine your
matplotlib
configuration file path:
import matplotlib as mpl
print(mpl.get_configdir()) # Let's call this MPL_CONFIGDIR for now
-
mkdir MPL_CONFIGDIR/stylelib
-
Copy
bbc.mplstyle
toMPL_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!