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