File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 237
237
238
238
% plotly reference
239
239
plotlyref = load(' plotly_reference.mat' );
240
+ % rmfield(plotlyref.pr, 'xbins');
241
+ % plotlyref.pr.xbins.size
240
242
241
243
% update the PlotlyRef property
242
244
obj.PlotlyReference = plotlyref .pr ;
265
267
266
268
% strip the style keys from data
267
269
for d = 1 : length(obj .data )
268
- if strcmpi(obj.data{d }.type, ' scatter' )
270
+ if strcmpi(obj.data{d }.type, ' scatter' ) || strcmpi(obj.data{ d }.type, ' histogram ' )
269
271
return
270
272
end
271
273
obj.data{d } = obj .stripkeys(obj.data{d }, obj.data{d }.type, ' style' );
@@ -825,6 +827,7 @@ function delete(obj)
825
827
pr = obj .PlotlyReference ;
826
828
827
829
% initialize output
830
+ % fields
828
831
stripped = fields ;
829
832
830
833
% get fieldnames
You can’t perform that action at this time.
0 commit comments