W3cubDocs

/Matplotlib 3.5

matplotlib.pyplot.rcdefaults

matplotlib.pyplot.rcdefaults()[source]

Restore the rcParams from Matplotlib's internal default style.

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

See also

matplotlib.rc_file_defaults

Restore the rcParams 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

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.pyplot.rcdefaults.html