Skip to content

Commit e138c74

Browse files
committed
joining test cass: scatter-color-array
1 parent 1fb72cf commit e138c74

4 files changed

+46
-51
lines changed
Binary file not shown.
Loading

test/image/mocks/gl3d_scatter-color-array-with-default-marker.json

-29
This file was deleted.

test/image/mocks/gl3d_scatter-color-array.json

+46-22
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,52 @@
11
{
2-
"data": [{
3-
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
4-
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
5-
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
6-
"mode": "lines",
7-
"line": {
8-
"width": 5,
9-
"color": [
10-
"#67001f",
11-
"#b2182b",
12-
"#d6604d",
13-
"#f4a582",
14-
"#fddbc7",
15-
"#d1e5f0",
16-
"#92c5de",
17-
"#4393c3",
18-
"#2166ac",
19-
"#053061"
20-
]
2+
"data": [
3+
{
4+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
5+
"y":[11,10,9,7,5,6,4,2,3,1,3],
6+
"z":[4,5,4,3,2,1,0,-1,-2,-3,-4],
7+
"mode": "lines",
8+
"line": {
9+
"width": 5,
10+
"color": [
11+
"#67001f",
12+
"#b2182b",
13+
"#d6604d",
14+
"#f4a582",
15+
"#fddbc7",
16+
"#d1e5f0",
17+
"#92c5de",
18+
"#4393c3",
19+
"#2166ac",
20+
"#053061"
21+
]
22+
},
23+
"type":"scatter3d"
2124
},
22-
"type":"scatter3d"
23-
}],
25+
{
26+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
27+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
28+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
29+
"mode": "lines+markers",
30+
"line": {
31+
"width": 5,
32+
"color": [
33+
"#67001f",
34+
"#b2182b",
35+
"#d6604d",
36+
"#f4a582",
37+
"#fddbc7",
38+
"#d1e5f0",
39+
"#92c5de",
40+
"#4393c3",
41+
"#2166ac",
42+
"#053061"
43+
]
44+
},
45+
"type":"scatter3d"
46+
}
47+
],
2448
"layout": {
25-
"title": "Array of colors specified (colorbrewer example)",
49+
"title": "Markers should default to line color",
2650
"height":758,
2751
"width":1310
2852
}

0 commit comments

Comments
 (0)