Skip to content

Commit bf61481

Browse files
fix issue #193
1 parent 9a07fbf commit bf61481

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

plotly/plotlyfig.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ function delete(obj)
886886
catch exception
887887
if obj.UserData.Verbose
888888
% catch 3D output until integrated into graphref
889-
if ~(strcmpi(fieldname,'surface') || strcmpi(fieldname,'scatter3d'))
889+
if ~(strcmpi(fieldname,'surface') || strcmpi(fieldname,'scatter3d') || strcmpi(fieldname,'mesh3d'))
890890
fprintf(['\nWhoops! ' exception.message(1:end-1) ' in ' fieldname '\n\n']);
891891
end
892892
end

plotly/plotlyfig_aux/core/updateData.m

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
case 'line'
1313
updateLineseries(obj, dataIndex);
1414
case 'histogram'
15-
updateHistogram(obj,dataIndex);
15+
updateHistogram(obj, dataIndex);
16+
case 'histogram2'
17+
updateHistogram2(obj, dataIndex);
1618
case 'patch'
1719
% check for histogram
1820
if isHistogram(obj,dataIndex)

0 commit comments

Comments
 (0)