Skip to content

Commit 105ce9b

Browse files
committed
include gradient arrays in scattercarpet test image
1 parent ff6c910 commit 105ce9b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

src/traces/scattercarpet/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function plot(gd, plotinfoproxy, data) {
2424
plot: plotinfoproxy.plot
2525
};
2626

27-
scatterPlot(plotinfo.graphDiv, plotinfo, data);
27+
scatterPlot(gd, plotinfo, data);
2828

2929
for(i = 0; i < data.length; i++) {
3030
trace = data[i][0].trace;
1.75 KB
Loading

test/image/mocks/scattercarpet.json

+8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
"line": {
5858
"smoothing": 1,
5959
"shape": "spline"
60+
},
61+
"marker": {
62+
"size": [10, 20, 30, 40],
63+
"color": ["#000", "#f00", "#ff0", "#fff"],
64+
"gradient": {
65+
"type": ["horizontal", "radial", "horizontal", "vertical"],
66+
"color": ["#0ff", "#fff", "#88f", "#00f"]
67+
}
6068
}
6169
},
6270
{

0 commit comments

Comments
 (0)