From d5e50983d87d6a8d6c5a3a7517eac559c7e9f8b2 Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Thu, 11 May 2017 13:40:10 +0200 Subject: [PATCH 1/2] Move rgba_string to PlotUtils requested by Tony Kelman --- src/backends/plotly.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 1626d5e2..814e4775 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -413,9 +413,6 @@ plotly_surface_data(series::Series, a::Surface) = plotly_surface_data(series, a. as_gradient(grad::ColorGradient, α) = grad as_gradient(grad, α) = cgrad(alpha = α) -# allows passing a ColorGradient where a single color is expected - the other backends allow this -PlotUtils.rgba_string(cg::ColorGradient) = rgba_string(cg[1]) - # get a dictionary representing the series params (d is the Plots-dict, d_out is the Plotly-dict) function plotly_series(plt::Plot, series::Series) st = series[:seriestype] From 8656fe002a51f5cfbe590f440930d898646c75e7 Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Thu, 11 May 2017 13:40:39 +0200 Subject: [PATCH 2/2] Add minimum version numbers to PlotUtils and PlotThemes --- REQUIRE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/REQUIRE b/REQUIRE index 14bcddc8..26866772 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,8 +1,8 @@ julia 0.5 RecipesBase -PlotUtils -PlotThemes +PlotUtils 0.4 +PlotThemes 0.1.2 Reexport FixedSizeArrays Measures