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.
1 parent 874a91f commit 858e884Copy full SHA for 858e884
plotly/plotlyfig_aux/core/updateData.m
@@ -96,7 +96,8 @@
96
end
97
98
% check for xaxis categories
99
-if strcmpi(xaxis.type, 'category')
+if strcmpi(xaxis.type, 'category') && ...
100
+ ~strcmp(obj.data{dataIndex}.type,'box')
101
obj.data{dataIndex}.x = get(obj.State.Plot(dataIndex).AssociatedAxis,'XTickLabel');
102
103
@@ -106,9 +107,11 @@
106
107
108
109
% check for yaxis categories
-if strcmpi(yaxis.type, 'category')
110
+if strcmpi(yaxis.type, 'category') && ...
111
112
obj.data{dataIndex}.y = get(obj.State.Plot(dataIndex).AssociatedAxis,'YTickLabel');
113
114
+
115
%-------------------------------------------------------------------------%
116
117
0 commit comments