From e2b9b15b65967f6e5743ec9a22abf2981ba7dcf5 Mon Sep 17 00:00:00 2001 From: Gilberto Galvis Date: Wed, 28 Jul 2021 20:21:02 -0400 Subject: [PATCH] fix issue #187 --- plotly/plotlyfig.m | 3 +++ 1 file changed, 3 insertions(+) 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