diff --git a/plotly/plotlyfig.m b/plotly/plotlyfig.m index 96014062..3f5173f7 100644 --- a/plotly/plotlyfig.m +++ b/plotly/plotlyfig.m @@ -265,7 +265,7 @@ % strip the style keys from data for d = 1:length(obj.data) - if strcmpi(obj.data{d}.type, 'scatter') + if strcmpi(obj.data{d}.type, 'scatter') return end obj.data{d} = obj.stripkeys(obj.data{d}, obj.data{d}.type, 'style');