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 237237
238238 % plotly reference
239239 plotlyref = load(' plotly_reference.mat' );
240+ % rmfield(plotlyref.pr, 'xbins');
241+ % plotlyref.pr.xbins.size
240242
241243 % update the PlotlyRef property
242244 obj.PlotlyReference = plotlyref .pr ;
265267
266268 % strip the style keys from data
267269 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 ' )
269271 return
270272 end
271273 obj.data{d } = obj .stripkeys(obj.data{d }, obj.data{d }.type, ' style' );
@@ -825,6 +827,7 @@ function delete(obj)
825827 pr = obj .PlotlyReference ;
826828
827829 % initialize output
830+ % fields
828831 stripped = fields ;
829832
830833 % get fieldnames
You can’t perform that action at this time.
0 commit comments