copy theme defaults

This commit is contained in:
daschw 2019-12-13 19:44:37 +01:00
parent 140afeb53d
commit 61d4c84ef4

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