plotnine.theme_matplotlib

theme_matplotlib(rc=None, fname=None, use_defaults=True)

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 = None

rcParams which should be applied on top of mathplotlib default.

fname : str = None

Filename to a matplotlibrc file

use_defaults : bool = True

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