Skip to content

Commit 639964a

Browse files
committed
joining test cass: scatter-color-line-gradient
1 parent e13f332 commit 639964a

8 files changed

+86
-97
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

test/image/mocks/gl3d_scatter-color-line-gradient-explicit-marker.json

-32
This file was deleted.

test/image/mocks/gl3d_scatter-color-line-gradient-marker-array.json

-32
This file was deleted.

test/image/mocks/gl3d_scatter-color-line-gradient-marker-palette.json

-33
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"data": [
3+
{
4+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
5+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
6+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
7+
"marker": {
8+
"color": "purple"
9+
},
10+
"line": {
11+
"width": 10,
12+
"color": [
13+
"rgb(166,206,227)",
14+
"rgb(31,120,180)",
15+
"rgb(31,120,180)",
16+
"rgb(178,223,138)",
17+
"rgb(51,160,44)",
18+
"rgb(51,160,44)",
19+
"rgb(251,154,153)",
20+
"rgb(227,26,28)",
21+
"rgb(255,127,0)",
22+
"rgb(106,61,154)",
23+
"rgb(106,61,154)"
24+
]
25+
},
26+
"type":"scatter3d"
27+
},
28+
{
29+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
30+
"y":[11,10,9,7,5,6,4,2,3,1,3],
31+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
32+
"marker": {
33+
"color": [1,2,3,4,5,6,7,8,9,10,11]
34+
},
35+
"line": {
36+
"width": 10,
37+
"color": [
38+
"rgb(166,206,227)",
39+
"rgb(31,120,180)",
40+
"rgb(31,120,180)",
41+
"rgb(178,223,138)",
42+
"rgb(51,160,44)",
43+
"rgb(51,160,44)",
44+
"rgb(251,154,153)",
45+
"rgb(227,26,28)",
46+
"rgb(255,127,0)",
47+
"rgb(106,61,154)",
48+
"rgb(106,61,154)"
49+
]
50+
},
51+
"type":"scatter3d"
52+
},
53+
{
54+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
55+
"y":[17,15,14,12,11,10,9,7,5,6,4],
56+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
57+
"marker": {
58+
"color": [1,2,3,4,5,6,7,8,9,10,11],
59+
"colorscale": "Viridis"
60+
},
61+
"line": {
62+
"width": 10,
63+
"color": [
64+
"rgb(166,206,227)",
65+
"rgb(31,120,180)",
66+
"rgb(31,120,180)",
67+
"rgb(178,223,138)",
68+
"rgb(51,160,44)",
69+
"rgb(51,160,44)",
70+
"rgb(251,154,153)",
71+
"rgb(227,26,28)",
72+
"rgb(255,127,0)",
73+
"rgb(106,61,154)",
74+
"rgb(106,61,154)"
75+
]
76+
},
77+
"type":"scatter3d"
78+
}
79+
80+
],
81+
"layout": {
82+
"title": "Color array for lines, and explicit color for markers",
83+
"height":758,
84+
"width":1310
85+
}
86+
}

0 commit comments

Comments
 (0)