File tree 1 file changed +3
-5
lines changed
plotly/plotlyfig_aux/core
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 185
185
ax = obj .State .Plot(dataIndex ).AssociatedAxis;
186
186
if ~ismember(ax .Type ,specialAxisPlots())
187
187
% -AXIS INDEX-%
188
- axIndex = obj .getAxisIndex(obj . State .Plot( dataIndex ).AssociatedAxis );
188
+ axIndex = obj .getAxisIndex(ax );
189
189
190
190
% -CHECK FOR MULTIPLE AXES-%
191
191
[xsource , ysource ] = findSourceAxis(obj ,axIndex );
204
204
% check for xaxis categories
205
205
if strcmpi(xaxis .type , " category" ) && ...
206
206
~any(strcmp(obj.data{dataIndex }.type,[" heatmap" " box" ]))
207
- obj.data{dataIndex }.x = ...
208
- obj .State .Plot(dataIndex ).AssociatedAxis.XTickLabel;
207
+ obj.data{dataIndex }.x = ax .XTickLabel ;
209
208
obj .layout.(" xaxis" + xsource ).autotick = true ;
210
209
end
211
210
219
218
% check for yaxis categories
220
219
if strcmpi(yaxis .type , " category" ) && ...
221
220
~any(strcmp(obj.data{dataIndex }.type, [" heatmap" " box" ]))
222
- obj.data{dataIndex }.y = ...
223
- obj .State .Plot(dataIndex ).AssociatedAxis.YTickLabel;
221
+ obj.data{dataIndex }.y = ax .YTickLabel ;
224
222
obj .layout.(" yaxis" + xsource ).autotick = true ;
225
223
end
226
224
end
You can’t perform that action at this time.
0 commit comments