From cad96e652f1634acbc52f768666bf1275864327c Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 27 Feb 2017 22:45:14 +0100 Subject: [PATCH] fix error on gr --- src/recipes.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index c4bf60c4..d30b763f 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -816,7 +816,7 @@ end error("showlibrary takes the name of a color library as a Symbol") end - library = clibrary(cl.args[1]) + library = PlotUtils.color_libraries[cl.args[1]] z = sqrt.((1:15)*(1:20)') seriestype := :heatmap @@ -828,8 +828,8 @@ end i = 0 for grad in keys(library.lib) @series begin - seriescolor := cgrad(grad, color_library = cl.args[1]) - title := grad + seriescolor := cgrad(grad, cl.args[1]) + title := string(grad) subplot := i += 1 z end