Merge pull request #2327 from daschw/theme

copy theme defaults
This commit is contained in:
Daniel Schwabeneder
2019-12-13 21:14:45 +01:00
committed by GitHub
+1 -1
View File
@@ -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