From 9c16a3b93df475b157f8b3aae1ffcc7f007b7abc Mon Sep 17 00:00:00 2001 From: zhymir thompson Date: Thu, 18 Jun 2026 15:36:06 -0400 Subject: [PATCH] Removed copy method call from mpl.rcParams for params update in use_defaults. --- plotnine/themes/theme_matplotlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotnine/themes/theme_matplotlib.py b/plotnine/themes/theme_matplotlib.py index 3d474bf72..ac308ed56 100644 --- a/plotnine/themes/theme_matplotlib.py +++ b/plotnine/themes/theme_matplotlib.py @@ -136,7 +136,7 @@ def __init__(self, rc=None, fname=None, use_defaults=True): ) if use_defaults: - self._rcParams.update(mpl.rcParams.copy()) + self._rcParams.update(mpl.rcParams) if fname: self._rcParams.update(mpl.rc_params_from_file(fname))