From 61d4c84ef44a029c96412fc3f2551995bec7cb71 Mon Sep 17 00:00:00 2001 From: daschw Date: Fri, 13 Dec 2019 19:44:37 +0100 Subject: [PATCH] copy theme defaults --- src/themes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes.jl b/src/themes.jl index aed8ecc0..1dc102d9 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -4,7 +4,7 @@ Specify the colour theme for plots. """ function theme(s::Symbol; kw...) - defaults = PlotThemes._themes[s].defaults + defaults = copy(PlotThemes._themes[s].defaults) _theme(s, defaults; kw...) end