From 6b94bbac2d9031dd41b711794855b29f82ef16af Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 27 Feb 2017 21:52:22 +0100 Subject: [PATCH] updated function names --- src/themes.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/themes.jl b/src/themes.jl index 70ee50db..c069a251 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -2,8 +2,8 @@ function theme(s::Symbol; kw...) # reset? if s == :none || s == :default - PlotUtils.set_clibrary(:Plots) - PlotUtils.cgraddefaults(:inferno) + PlotUtils.clibrary(:Plots) + PlotUtils.default_cgrad(: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.set_clibrary(:Plots) - PlotUtils.cgraddefaults(default = PlotThemes.gradient_name(s)) + PlotUtils.clibrary(:Plots) + PlotUtils.default_cgrad(default = PlotThemes.gradient_name(s)) end default(; bg = thm.bg_secondary,