SkillAgentSearch skills...

Matplotlibrc

some example matplotlibrc files, and a script display their effects

Install / Use

/learn @daler/Matplotlibrc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars48
CategoryDevelopment
Updated11mo ago
Forks10

Languages

Python

Security Score

67/100

Audited on Apr 15, 2025

No findings