Skip to content

Commit 58ff5a3

Browse files
committed
Provide image attribs hoping CI will trigger
1 parent aefdab1 commit 58ff5a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/traces/parcoords/base_plot.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ exports.toSVG = function(gd) {
4747

4848
image.attr({
4949
xmlns: xmlnsNamespaces.svg,
50-
'xlink:href': imageData
50+
'xlink:href': imageData,
51+
preserveAspectRatio: 'none',
52+
x: 0,
53+
y: 0,
54+
width: canvas.width,
55+
height: canvas.height
5156
});
5257
}
5358

0 commit comments

Comments
 (0)