File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
plotly/plotlyfig_aux/handlegraphics Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 78
78
79
79
else
80
80
obj.data{patchIndex }.type = ' scatter3d' ;
81
+ % No xaxis/yaxis fields in obj.data for scatter3d in updated JSON
82
+ obj.data{patchIndex } = rmfield(obj.data{patchIndex },' xaxis' );
83
+ obj.data{patchIndex } = rmfield(obj.data{patchIndex },' yaxis' );
81
84
end
82
85
else
83
86
obj.data{patchIndex }.type = ' scatter' ;
149
152
% ---------------------------------------------------------------------%
150
153
151
154
% -patch fill-%
152
- obj.data{patchIndex }.fill = ' tozeroy' ;
155
+ if ~strcmp(obj.data{patchIndex }.type,' scatter3d' )
156
+ obj.data{patchIndex }.fill = ' tozeroy' ;
157
+ end
153
158
154
159
% -PATCH MODE-%
155
160
if ~strcmpi(' none' , patch_data .Marker ) && ~strcmpi(' none' , patch_data .LineStyle )
You can’t perform that action at this time.
0 commit comments