Skip to content

Commit 383662f

Browse files
committed
clear calcdata before redoing it in animations
1 parent 78b82b8 commit 383662f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plots/plots.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,6 +1813,10 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)
18131813
// of essentially the whole supplyDefaults step, so that it seems sensible to just use
18141814
// supplyDefaults even though it's heavier than would otherwise be desired for
18151815
// transitions:
1816+
1817+
// first delete calcdata so supplyDefaults knows a calc step is coming
1818+
delete gd.calcdata;
1819+
18161820
plots.supplyDefaults(gd);
18171821

18181822
plots.doCalcdata(gd);

0 commit comments

Comments
 (0)