Skip to content

Commit

Permalink
fix issue #450. adding stackedplot functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
galvisgilberto committed Oct 28, 2021
1 parent 8a89239 commit f80fe87
Show file tree
Hide file tree
Showing 4 changed files with 417 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plotly/plotlyfig.m
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ function validate(obj)
% reset dataget(obj.State.Figure.Handle,'Children')
obj.data = {};
obj.PlotOptions.nPlots = obj.State.Figure.NumPlots;
obj.PlotlyDefaults.anIndex = obj.State.Figure.NumTexts + 1;
obj.PlotlyDefaults.anIndex = obj.State.Figure.NumTexts;

% reset layout
obj.layout = struct();
Expand Down
2 changes: 2 additions & 0 deletions plotly/plotlyfig_aux/core/updateData.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@
updateStair(obj, dataIndex);
case 'stairseries'
updateStairseries(obj, dataIndex);
case 'stackedplot'
updateStackedplot(obj, dataIndex);
case 'stem'
updateStem(obj, dataIndex);
case 'stemseries'
Expand Down
Loading

0 comments on commit f80fe87

Please sign in to comment.