From 6f8881b610d3908e5413e4abc5101e2b8ed5009f Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Tue, 28 Feb 2017 12:43:06 +0100 Subject: [PATCH] set defaults to sequential --- src/themes.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/themes.jl b/src/themes.jl index 702574e2..e7a39d02 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -3,7 +3,7 @@ function theme(s::Symbol; kw...) # reset? if s == :none || s == :default PlotUtils.clibrary(:Plots) - PlotUtils.default_cgrad(:inferno) + PlotUtils.default_cgrad(default = :sequential, sequential = :inferno) default(; bg = :white, bglegend = :match, @@ -24,8 +24,8 @@ function theme(s::Symbol; kw...) # update the default gradient and other defaults thm = PlotThemes._themes[s] if thm.gradient != nothing - PlotUtils.clibrary(:hisc) - PlotUtils.default_cgrad(default = PlotThemes.gradient_name(s)) + PlotUtils.clibrary(:misc) + PlotUtils.default_cgrad(default = :sequential, sequential = PlotThemes.gradient_name(s)) end default(; bg = thm.bg_secondary,