From 5465479e5772b60d4a19c6eae191f9fa3908b498 Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 27 Feb 2017 21:47:12 +0100 Subject: [PATCH] Put themes in Plots library --- src/themes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/themes.jl b/src/themes.jl index 442e67d0..70ee50db 100644 --- a/src/themes.jl +++ b/src/themes.jl @@ -2,7 +2,7 @@ function theme(s::Symbol; kw...) # reset? if s == :none || s == :default - PlotUtils.set_clibrary(:matplotlib) + PlotUtils.set_clibrary(:Plots) PlotUtils.cgraddefaults(:inferno) default(; bg = :white, @@ -24,7 +24,7 @@ function theme(s::Symbol; kw...) # update the default gradient and other defaults thm = PlotThemes._themes[s] if thm.gradient != nothing - PlotUtils.set_clibrary(:plotthemes) + PlotUtils.set_clibrary(:Plots) PlotUtils.cgraddefaults(default = PlotThemes.gradient_name(s)) end default(;