Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 684195a

Browse filesBrowse files
committed
Fix resizing layout
1 parent cb2729e commit 684195a
Copy full SHA for 684195a

File tree

Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed

‎src/plot_api/plot_api.js

Copy file name to clipboardExpand all lines: src/plot_api/plot_api.js
+5-3Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,13 @@ Plotly.plot = function(gd, data, layout, config) {
225225
'height': '100%',
226226
'overflow': 'visible',
227227
'pointer-events': 'none'
228-
})
229-
.attr('width', fullLayout.width)
230-
.attr('height', fullLayout.height);
228+
});
231229
}
232230

231+
fullLayout._glcanvas
232+
.attr('width', fullLayout.width)
233+
.attr('height', fullLayout.height);
234+
233235
return Lib.syncOrAsync([
234236
subroutines.layoutStyles
235237
], gd);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.