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 5d99634 commit ab2ebf4Copy full SHA for ab2ebf4
src/plots/plots.js
@@ -426,6 +426,15 @@ plots.supplyDefaults = function(gd) {
426
trace = newData[i];
427
428
fullTrace = plots.supplyDataDefaults(trace, i, newFullLayout);
429
+
430
+ // If autobinned before, autobin again. supplyDataDefaults sees
431
+ // the generated bin object and assumes it has been set manually
432
+ // so we need to override that behaviour.
433
+ if (oldFullData[i]){
434
+ fullTrace.autobinx = oldFullData[i].autobinx || fullTrace.autobinx;
435
+ fullTrace.autobiny = oldFullData[i].autobiny || fullTrace.autobiny;
436
+ }
437
438
newFullData.push(fullTrace);
439
440
// DETECT 3D, Cartesian, and Polar
0 commit comments