set defaults to sequential
This commit is contained in:
parent
1b468ba5d8
commit
6f8881b610
@ -3,7 +3,7 @@ function theme(s::Symbol; kw...)
|
|||||||
# reset?
|
# reset?
|
||||||
if s == :none || s == :default
|
if s == :none || s == :default
|
||||||
PlotUtils.clibrary(:Plots)
|
PlotUtils.clibrary(:Plots)
|
||||||
PlotUtils.default_cgrad(:inferno)
|
PlotUtils.default_cgrad(default = :sequential, sequential = :inferno)
|
||||||
default(;
|
default(;
|
||||||
bg = :white,
|
bg = :white,
|
||||||
bglegend = :match,
|
bglegend = :match,
|
||||||
@ -24,8 +24,8 @@ function theme(s::Symbol; kw...)
|
|||||||
# update the default gradient and other defaults
|
# update the default gradient and other defaults
|
||||||
thm = PlotThemes._themes[s]
|
thm = PlotThemes._themes[s]
|
||||||
if thm.gradient != nothing
|
if thm.gradient != nothing
|
||||||
PlotUtils.clibrary(:hisc)
|
PlotUtils.clibrary(:misc)
|
||||||
PlotUtils.default_cgrad(default = PlotThemes.gradient_name(s))
|
PlotUtils.default_cgrad(default = :sequential, sequential = PlotThemes.gradient_name(s))
|
||||||
end
|
end
|
||||||
default(;
|
default(;
|
||||||
bg = thm.bg_secondary,
|
bg = thm.bg_secondary,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user