Skip to content

Commit f6f5cb4

Browse files
zhymirthas2k1
authored andcommitted
Removed copy method call from mpl.rcParams for params update in
use_defaults.
1 parent f2acb48 commit f6f5cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plotnine/themes/theme_matplotlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def __init__(self, rc=None, fname=None, use_defaults=True):
137137
)
138138

139139
if use_defaults:
140-
self._rcParams.update(mpl.rcParams.copy())
140+
self._rcParams.update(mpl.rcParams)
141141

142142
if fname:
143143
self._rcParams.update(mpl.rc_params_from_file(fname))

0 commit comments

Comments
 (0)