Thanks to visit codestin.com Credit goes to github.com
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 f66aff3 commit 351f830Copy full SHA for 351f830
src/plot_api/subroutines.js
@@ -62,7 +62,8 @@ function lsInner(gd) {
62
height: (gd._context.responsive && fullLayout.autosize && !gd._context._hasZeroHeight && !gd.layout.height) ? '100%' : fullLayout.height + 'px'
63
})
64
.selectAll('.main-svg')
65
- .call(Drawing.setSize, fullLayout.width, fullLayout.height);
+ .call(Drawing.setSize, fullLayout.width, fullLayout.height)
66
+ .attr('viewbox', '0 0 ' + fullLayout.width + ' ' + fullLayout.height)
67
gd._context.setBackground(gd, fullLayout.paper_bgcolor);
68
69
exports.drawMainTitle(gd);
0 commit comments