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 ce0c5e0 commit adf696fCopy full SHA for adf696f
lib/matplotlib/__init__.py
@@ -1097,10 +1097,10 @@ def rc_params_from_file(fname, fail_on_error=False, use_default_template=True):
1097
_fullpath = os.path.join(_basedir, rcParams['examples.directory'])
1098
rcParams['examples.directory'] = _fullpath
1099
1100
-rcParamsOrig = rcParams.copy()
1101
1102
with warnings.catch_warnings():
1103
warnings.simplefilter("ignore", MatplotlibDeprecationWarning)
+ rcParamsOrig = RcParams(rcParams.copy())
1104
rcParamsDefault = RcParams([(key, default) for key, (default, converter) in
1105
defaultParams.items()
1106
if key not in _all_deprecated])
0 commit comments