fix theme default

This commit is contained in:
Michael K. Borregaard 2017-02-26 20:43:04 +01:00
parent eab4cfdf2d
commit 6c51982793

View File

@ -25,7 +25,7 @@ function theme(s::Symbol; kw...)
thm = PlotThemes._themes[s]
if thm.gradient != nothing
PlotUtils.set_clibrary(:plotthemes)
PlotUtils.cgraddefaults(PlotThemes.gradient_name(s))
PlotUtils.cgraddefaults(default = PlotThemes.gradient_name(s))
end
default(;
bg = thm.bg_secondary,