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 3ed69b1 commit 862578eCopy full SHA for 862578e
src/plots/plots.js
@@ -773,7 +773,7 @@ plots.supplyLayoutGlobalDefaults = function(layoutIn, layoutOut) {
773
coerce('margin.autoexpand');
774
775
// called in plotAutoSize otherwise
776
- if(layoutOut.width && layoutOut.height) plots.sanitizeMargins(layoutOut);
+ if(layoutIn.width && layoutIn.height) plots.sanitizeMargins(layoutOut);
777
778
coerce('paper_bgcolor');
779
0 commit comments