Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03b5f6 commit 520e471Copy full SHA for 520e471
1 file changed
lib/matplotlib/config/mplconfig.py
@@ -516,9 +516,13 @@ def save_config():
516
config_file)
517
518
def rcdefaults():
519
- global mplConfig
520
- mplConfig = MPLConfig()
521
- rcParams.update(rcParamsDefault)
+ """
+ Restore the default rc params - the ones that were created at
+ matplotlib load time
522
523
+ for key in rcParamsDefault.keys():
524
+ rcParams[key] = rcParamsDefault[key]
525
+
526
527
##############################################################################
528
# Auto-generate the mpl-data/matplotlib.conf
0 commit comments