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 4981923 commit e1d47e3Copy full SHA for e1d47e3
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