mirror of
https://github.com/wassname/matplotlibrc.git
synced 2026-08-20 12:30:36 +08:00
41 lines
812 B
ReStructuredText
41 lines
812 B
ReStructuredText
`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
|
|
--------
|
|
* https://github.com/olgabot/prettyplotlib
|
|
* https://github.com/mwaskom/seaborn
|
|
|
|
Screenshots
|
|
-----------
|
|
|
|
Some included styles are:
|
|
|
|
- default
|
|
|
|
.. image:: screenshots/default.png
|
|
|
|
- ggplotish
|
|
|
|
.. image:: screenshots/ggplotish.png
|
|
|
|
- probpro
|
|
|
|
.. image:: screenshots/probpro.png
|
|
|
|
- rlike
|
|
|
|
.. image:: screenshots/rlike.png
|
|
|