plotnine.themes.theme_matplotlib

class plotnine.themes.theme_matplotlib(rc=None, fname=None, use_defaults=True)[source]

The default matplotlib look and feel.

The theme can be used (and has the same parameter to customize) like a matplotlib.rc_context manager.

Parameters:
rcdict, optional

rcParams which should be applied on top of mathplotlib default.

fnamestr, optional

Filename to a matplotlibrc file

use_defaultsbool

If True (the default) resets the plot setting to the (current) matplotlib.rcParams values