Skip to content

Commit 89caf7b

Browse files
committed
fixing gl canvas panel sizing in particular for layout: {autosize: true}
1 parent e00f8d8 commit 89caf7b

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/traces/parcoords/base_plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ exports.toSVG = function(gd) {
4040

4141
var imageRoot = gd._fullLayout._glimages;
4242
var root = d3.selectAll('.svg-container');
43-
var canvases = root.filter(function(d, i) {return i === 0;})
43+
var canvases = root.filter(function(d, i) {return i === root.size() - 1;})
4444
.selectAll('.parcoords-lines.context, .parcoords-lines.focus');
4545

4646
function canvasToImage(d) {
76 Bytes
Loading
-2 Bytes
Loading

0 commit comments

Comments
 (0)