June 2016
Beginner to intermediate
284 pages
6h 22m
English
Throughout the book, we have worked with our custom style file, mystyle.mplstyle. As covered before, in matplotlib, there are numerous style files already included. To print out the styles available in your distribution, simply open a Jupyter Notebook and run the following:
import matplotlib.pyplot as plt print(plt.style.available())
I am running matplotlib 1.5, and so I will get the following output:
['seaborn-deep', 'grayscale', 'dark_background', 'seaborn-whitegrid', 'seaborn-talk', 'seaborn-dark-palette', 'seaborn-colorblind', 'seaborn-notebook', 'seaborn-dark', 'seaborn-paper', 'seaborn-muted', 'seaborn-white', 'seaborn-ticks', 'bmh', 'fivethirtyeight', 'seaborn-pastel', 'ggplot', 'seaborn-poster', 'seaborn-bright', 'seaborn-darkgrid', ...
Read now
Unlock full access