Skip to content
some example matplotlibrc files, and a script display their effects
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
rc
screenshots
.gitignore
README.rst
showstyle.py

README.rst

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
Something went wrong with that request. Please try again.