diff --git a/src/themes.jl b/src/themes.jl index 16845ffb..9e4a3173 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -61,6 +61,25 @@ # ) function theme(s::Symbol; kw...) + # reset? + if s == :none || s == :default + default(; + bg = :white, + bglegend = :match, + bginside = :match, + bgoutside = :match, + fg = :auto, + fglegend = :match, + fggrid = :match, + fgaxis = :match, + fgtext = :match, + fgborder = :match, + fgguide = :match, + palette = :auto + ) + return + end + thm = PlotThemes._themes[s] PlotUtils._default_gradient[] = s default(;