Skip to content

Commit

Permalink
fix issue #306
Browse files Browse the repository at this point in the history
  • Loading branch information
galvisgilberto committed Aug 9, 2021
1 parent a8e1663 commit f7d8f24
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plotly/plotlyfig_aux/handlegraphics/updateLineseries.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ function updateLineseries(obj,plotIndex)
%-------------------------------------------------------------------------%

if isfield(plot_data,'ZData')
if any(plot_data.ZData)

numbset = unique(plot_data.ZData);

if any(plot_data.ZData) && length(numbset)>1
%-scatter z-%
obj.data{plotIndex}.z = plot_data.ZData;

Expand Down

0 comments on commit f7d8f24

Please sign in to comment.