Skip to content

Commit 0f006a7

Browse files
Merge pull request #216 from plotly/fixing_issue_187
fix issue #187
2 parents 8d6f6fc + e2b9b15 commit 0f006a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plotly/plotlyfig.m

+3
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@
265265

266266
% strip the style keys from data
267267
for d = 1:length(obj.data)
268+
if strcmpi(obj.data{d}.type, 'scatter')
269+
return
270+
end
268271
obj.data{d} = obj.stripkeys(obj.data{d}, obj.data{d}.type, 'style');
269272
end
270273

0 commit comments

Comments
 (0)