fix plotly not showing the second marker

This commit is contained in:
Daniel Schwabeneder 2020-10-06 10:28:08 +02:00
parent 9dfc33dc12
commit 4c7156ca5e

View File

@ -708,7 +708,7 @@ function plotly_series_segments(series::Series, plotattributes_base::KW, x, y, z
segments = iter_segments(series, st) segments = iter_segments(series, st)
plotattributes_outs = fill(KW(), (hasfillrange ? 2 : 1 ) * length(segments)) 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) for (i,rng) in enumerate(segments)
plotattributes_out = deepcopy(plotattributes_base) plotattributes_out = deepcopy(plotattributes_base)