Skip to content

Commit f428026

Browse files
authored
Merge pull request #1947 from monfera/parcoords-image
Identify canvases for the specific `gd` being exported
2 parents 4825f8e + 7acd146 commit f428026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/parcoords/base_plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
3939
exports.toSVG = function(gd) {
4040

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

0 commit comments

Comments
 (0)