We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07f872b + 73ebe79 commit db33f39Copy full SHA for db33f39
plotly/plotlyfig_aux/handlegraphics/updateScatter.m
@@ -173,10 +173,10 @@ function updateScatter(obj,scatterIndex)
173
if length(scatter_data) > 1
174
obj.data{scatterIndex}.marker.line.color{m} = childmarker.line.color{1};
175
else
176
- if iscell(childmarker.line.color)
177
- obj.data{scatterIndex}.marker.line.color = childmarker.line.color{1};
178
- else
+ if length(childmarker.line.color) > 3
179
obj.data{scatterIndex}.marker.line.color = childmarker.line.color;
+ else
+ obj.data{scatterIndex}.marker.line.color = childmarker.line.color{1};
180
end
181
182
0 commit comments