We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c1a93 commit ceb0576Copy full SHA for ceb0576
plotly/plotlyfig_aux/core/updateData.m
@@ -198,12 +198,21 @@
198
opts{1} = nan;
199
opts{2}.frame.duration = 10;
200
opts{2}.frame.redraw = false;
201
+ opts{2}.fromcurrent = true;
202
opts{2}.mode = 'immediate';
203
opts{2}.transition.duration = 0;
204
205
button{1}.label = '▶';
206
button{1}.method = 'animate';
207
button{1}.args = opts;
208
+
209
+ opts{1} = {nan};
210
+ opts{2}.transition.duration = 0;
211
+ opts{2}.frame.duration = 0;
212
213
+ button{2}.label = '◼';
214
+ button{2}.method = 'animate';
215
+ button{2}.args = opts;
216
217
obj.layout.updatemenus{1}.type = 'buttons';
218
obj.layout.updatemenus{1}.buttons = button;
0 commit comments