Skip to content

Commit e10c57f

Browse files
committed
📚 for redo calcdata when restyling array values
1 parent af15b34 commit e10c57f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plot_api/plot_api.js

+1
Original file line numberDiff line numberDiff line change
@@ -1585,6 +1585,7 @@ function _restyle(gd, aobj, _traces) {
15851585
flags.docalc = true;
15861586
}
15871587

1588+
// must redo calcdata when restyling array values of arrayOk attributes
15881589
if(valObject.arrayOk && (Array.isArray(newVal) || Array.isArray(oldVal))) {
15891590
flags.docalc = true;
15901591
}

0 commit comments

Comments
 (0)