Skip to content

Commit 6254578

Browse files
committed
make sure that non-svg plot types go through calc on restyle,
- N.B. 'docalc' is more conservative then 'doplot'
1 parent 3648744 commit 6254578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ Plotly.restyle = function restyle(gd, astr, val, traces) {
16481648
// to not go through a full replot
16491649
var doPlotWhiteList = ['cartesian', 'pie', 'ternary'];
16501650
fullLayout._basePlotModules.forEach(function(_module) {
1651-
if(doPlotWhiteList.indexOf(_module.name) === -1) doplot = true;
1651+
if(doPlotWhiteList.indexOf(_module.name) === -1) docalc = true;
16521652
});
16531653

16541654
// make a new empty vals array for undoit

0 commit comments

Comments
 (0)