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 b931e4f commit 3cbb60eCopy full SHA for 3cbb60e
src/plots/plots.js
@@ -90,7 +90,7 @@ plots.resize = function(gd) {
90
91
gd._redrawTimer = setTimeout(function() {
92
// return if there is nothing to resize
93
- if(gd.layout.width && gd.layout.height) {
+ if(gd.layout && gd.layout.width && gd.layout.height) {
94
resolve(gd);
95
return;
96
}
0 commit comments