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 368fe44 commit 4710c12Copy full SHA for 4710c12
src/plot_api/plot_api.js
@@ -3051,8 +3051,6 @@ function makePlotFramework(gd) {
3051
.attr('class', function(d) {
3052
return 'gl-canvas gl-canvas-' + d.key.replace('Layer', '');
3053
})
3054
- .attr('width', fullLayout.width)
3055
- .attr('height', fullLayout.height)
3056
.style('position', 'absolute')
3057
.style('top', 0)
3058
.style('left', 0)
@@ -3065,6 +3063,10 @@ function makePlotFramework(gd) {
3065
3063
}
3066
3064
3067
+ fullLayout._glcanvas
+ .attr('width', fullLayout.width)
3068
+ .attr('height', fullLayout.width);
3069
+
3070
fullLayout._paperdiv.selectAll('.main-svg').remove();
3071
3072
fullLayout._paper = fullLayout._paperdiv.insert('svg', ':first-child')
0 commit comments