You are reading an old version of the documentation (v3.1.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.rcdefaults.html
Version 3.1.0
matplotlib
Fork me on GitHub

Table of Contents

matplotlib.pyplot.rcdefaults

matplotlib.pyplot.rcdefaults()[source]

Restore the rc params from Matplotlib's internal default style.

Style-blacklisted rc params (defined in matplotlib.style.core.STYLE_BLACKLIST) are not updated.

See also

rc_file_defaults
Restore the rc params from the rc file originally loaded by Matplotlib.
matplotlib.style.use
Use a specific style file. Call style.use('default') to restore the default style.

Examples using matplotlib.pyplot.rcdefaults