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 487b9b3 commit 7e79b06Copy full SHA for 7e79b06
1 file changed
src/plot_api/subroutines.js
@@ -684,7 +684,7 @@ exports.doLegend = function(gd) {
684
};
685
686
exports.doTicksRelayout = function(gd) {
687
- Axes.draw(gd, 'redraw');
+ var drawPromise = Axes.draw(gd, 'redraw');
688
689
if(gd._fullLayout._hasOnlyLargeSploms) {
690
Registry.subplotsRegistry.splom.updateGrid(gd);
@@ -693,7 +693,9 @@ exports.doTicksRelayout = function(gd) {
693
}
694
695
exports.drawMainTitle(gd);
696
- return Plots.previousPromises(gd);
+ return Promise.resolve(drawPromise).then(function() {
697
+ return Plots.previousPromises(gd);
698
+ });
699
700
701
exports.doModeBar = function(gd) {
0 commit comments