Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e599c05

Browse files
fix color issues related to scatter functionality
1 parent fcce0f0 commit e599c05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/plotlyfig_aux/handlegraphics/updateScatter.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function updateScatter(obj,scatterIndex)
55
%-INITIALIZATIONS-%
66
axIndex = obj.getAxisIndex(obj.State.Plot(scatterIndex).AssociatedAxis);
77
[xSource, ySource] = findSourceAxis(obj,axIndex);
8-
scatterData = get(obj.State.Plot(scatterIndex).Handle)
8+
scatterData = get(obj.State.Plot(scatterIndex).Handle);
99

1010
try
1111
isScatter3D = isfield(scatterData,'ZData');
@@ -52,11 +52,11 @@ function updateScatter(obj,scatterIndex)
5252
end
5353

5454
if length(markerColor) == 1
55-
obj.data{scatterIndex}.marker.color = markerColor{1}
55+
obj.data{scatterIndex}.marker.color = markerColor{1};
5656
end
5757

5858
if length(markerLineColor) == 1
59-
obj.data{scatterIndex}.marker.line.color = markerLineColor{1}
59+
obj.data{scatterIndex}.marker.line.color = markerLineColor{1};
6060
end
6161

6262
%-------------------------------------------------------------------------%

0 commit comments

Comments
 (0)