We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39eeaaf + 9bf436e commit 2515f91Copy full SHA for 2515f91
1 file changed
plotly/plotlyfig_aux/handlegraphics/updateLineseries.m
@@ -74,8 +74,8 @@ function updateLineseries(obj,plotIndex)
74
ispolar = true;
75
end
76
77
-%-if polar ezplot or not-%
78
-if abs(x(1)-x(end))<1e-5 && abs(y(1)-y(end))<1e-5
+%-if ezpolar or not-%
+if length(obj.State.Axis(plotIndex).Handle.Children) == 2
79
80
81
0 commit comments