Skip to content

Commit 3507538

Browse files
committed
make restyle aware of 'recalc' flag in attributes
1 parent 2105fd4 commit 3507538

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plot_api/plot_api.js

+5
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,11 @@ function _restyle(gd, aobj, _traces) {
16241624
flags.docalc = true;
16251625
}
16261626

1627+
// some attributes declare a 'recalc' flag
1628+
if(valObject.recalc) {
1629+
flags.docalc = true;
1630+
}
1631+
16271632
// all the other ones, just modify that one attribute
16281633
param.set(newVal);
16291634
}

0 commit comments

Comments
 (0)