From bd2756c0bf6aade388fe3a068c9a968803880f2d Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 13 May 2018 19:48:49 +0200 Subject: [PATCH 1/3] fix ribbon for plotly --- src/backends/plotly.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 2fff6cb7..0e3be76b 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -807,8 +807,9 @@ function plotly_series_segments(series::Series, d_base::KW, x, y, z) else # if fillrange is a tuple with upper and lower limit, d_out_fillrange # is the series that will do the filling + fillrng = Tuple(series[:fillrange][i][rng] for i in 1:2) d_out_fillrange[:x], d_out_fillrange[:y] = - concatenate_fillrange(x[rng], series[:fillrange][rng]) + concatenate_fillrange(x[rng], fillrng) d_out_fillrange[:line][:width] = 0 delete!(d_out, :fill) delete!(d_out, :fillcolor) From 41e4c80494e6a9b3eb01846aea80b031dcefd162 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 13 May 2018 19:49:02 +0200 Subject: [PATCH 2/3] fix ribbon for plotly --- src/backends/plotly.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 0e3be76b..45ed7727 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -808,8 +808,7 @@ function plotly_series_segments(series::Series, d_base::KW, x, y, z) # if fillrange is a tuple with upper and lower limit, d_out_fillrange # is the series that will do the filling fillrng = Tuple(series[:fillrange][i][rng] for i in 1:2) - d_out_fillrange[:x], d_out_fillrange[:y] = - concatenate_fillrange(x[rng], fillrng) + d_out_fillrange[:x], d_out_fillrange[:y] = concatenate_fillrange(x[rng], fillrng) d_out_fillrange[:line][:width] = 0 delete!(d_out, :fill) delete!(d_out, :fillcolor) From 60b9cd8789102d4c2cd8502f2ead084e3dc10307 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 13 May 2018 19:52:26 +0200 Subject: [PATCH 3/3] remove space --- src/backends/plotly.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 45ed7727..30d0c05c 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -808,7 +808,7 @@ function plotly_series_segments(series::Series, d_base::KW, x, y, z) # if fillrange is a tuple with upper and lower limit, d_out_fillrange # is the series that will do the filling fillrng = Tuple(series[:fillrange][i][rng] for i in 1:2) - d_out_fillrange[:x], d_out_fillrange[:y] = concatenate_fillrange(x[rng], fillrng) + d_out_fillrange[:x], d_out_fillrange[:y] = concatenate_fillrange(x[rng], fillrng) d_out_fillrange[:line][:width] = 0 delete!(d_out, :fill) delete!(d_out, :fillcolor)