From 4c7156ca5e4170e891ad8f3677a77d3c08852940 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Tue, 6 Oct 2020 10:28:08 +0200 Subject: [PATCH] fix plotly not showing the second marker --- 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 fe2af1fc..56eab03b 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -708,7 +708,7 @@ function plotly_series_segments(series::Series, plotattributes_base::KW, x, y, z segments = iter_segments(series, st) plotattributes_outs = fill(KW(), (hasfillrange ? 2 : 1 ) * length(segments)) - needs_scatter_fix = !isscatter && hasmarker && !any(isnan,y) + needs_scatter_fix = !isscatter && hasmarker && !any(isnan,y) && length(segments) > 1 for (i,rng) in enumerate(segments) plotattributes_out = deepcopy(plotattributes_base)