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:
rc : dict, optional

rcParams which should be applied on top of mathplotlib default.

fname : str, optional

Filename to a matplotlibrc file

use_defaults : bool

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