From 7f588a700905a68ac3597673032b706997491aef Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Fri, 8 Apr 2022 15:57:44 +0200 Subject: [PATCH] fix failure on 1.6 --- 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 66cb1aaa..205e7dc1 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -758,7 +758,7 @@ end function plotly_series_shapes(plt::Plot, series::Series, clims) segments = series_segments(series; check = true) - plotattributes_outs = [KW() for _ in eachindex(segments)] + plotattributes_outs = [KW() for _ in 1:length(segments)] # TODO: create a plotattributes_out for each polygon # x, y = series[:x], series[:y]