/matplotlibrc

some example matplotlibrc files, and a script display their effects

Primary LanguagePython

matplotlibrc demos

Some -- but not all -- characteristics of matplotlib plots can be configured via the matplotlib.rcParams dictionary.

Add a new matplotlibrc file to the rc dir, say myrc, and use:

$ ./showstyle.py myrc

See the showstyle.py file for usage -- for example, note how hist and scatter grab the first color in rcParams['axes.color_cycle'] since there's no way to set the default scatter or hist color via rcParams.

See also

Screenshots

Some included styles are:

  • default

screenshots/default.png

  • ggplotish

screenshots/ggplotish.png

  • probpro

screenshots/probpro.png

  • rlike

screenshots/rlike.png