Skip to content

Commit c063629

Browse files
committed
Replaced MATLAB version check with handlegraphics2 check
1 parent a8f9aae commit c063629

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plotly/plotlyfig_aux/handlegraphics/updateScatter.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ function updateScatter(obj,scatterIndex)
123123
%---------------------------------------------------------------------%
124124

125125
%-scatter z-%
126-
if ~verLessThan('matlab','8.4')
127-
% '8.4' is r2014b '8.3' is r2014a
126+
if isHG2()
128127
if isfield(scatter_data,'ZData')
129128
if any(scatter_data.ZData)
130129
if length(scatter_data) > 1

0 commit comments

Comments
 (0)