Skip to content

Commit d0c8b3f

Browse files
Fix lineseries
1 parent cea161b commit d0c8b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/plotlyfig_aux/handlegraphics/updateLineseries.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function updateLineseries(obj, plotIndex)
55
plotData = obj.State.Plot(plotIndex).Handle;
66

77
%-check for multiple axes-%
8-
if numel(plotData.Parent.YAxis) > 1
8+
if isprop(plotData.Parent, "YAxis") && numel(plotData.Parent.YAxis) > 1
99
yaxMatch = zeros(1,2);
1010
for yax = 1:2
1111
yAxisColor = plotData.Parent.YAxis(yax).Color;

0 commit comments

Comments
 (0)