Skip to content

Commit 596bb47

Browse files
committed
improve gl3d line colorscales with markers mock
1 parent 7c21eab commit 596bb47

File tree

2 files changed

+77
-2
lines changed

2 files changed

+77
-2
lines changed
Loading

test/image/mocks/gl3d_line-colorscale-with-markers.json

+77-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,83 @@
77
"z": [1, 2, 3],
88
"mode": "lines+markers",
99
"line": {
10-
"color": [0, 1, 2],
11-
"width": 10
10+
"width": 3,
11+
"color": [0, 1, 2]
12+
}
13+
},
14+
{
15+
"type": "scatter3d",
16+
"x": [0, 0, 0],
17+
"y": [2, 2, 2],
18+
"z": [1, 2, 3],
19+
"mode": "lines+markers",
20+
"line": {
21+
"width": 3,
22+
"color": [0, 1, 2]
23+
},
24+
"marker": {
25+
"color": [0, 1, 2]
26+
}
27+
},
28+
{
29+
"type": "scatter3d",
30+
"x": [0, 0, 0],
31+
"y": [3, 3, 3],
32+
"z": [1, 2, 3],
33+
"mode": "lines+markers",
34+
"marker": {
35+
"color": [0, 1, 2]
36+
},
37+
"line": {
38+
"width": 3
39+
}
40+
},
41+
{
42+
"type": "scatter3d",
43+
"x": [1, 1, 1],
44+
"y": [0, 0, 0],
45+
"z": [1, 2, 3],
46+
"mode": "lines+markers",
47+
"line": {
48+
"width": 3,
49+
"colorscale": "Blues",
50+
"color": [0, 1, 2]
51+
},
52+
"marker": {
53+
"colorscale": "Blues",
54+
"color": [0, 1, 2]
55+
}
56+
},
57+
{
58+
"type": "scatter3d",
59+
"x": [2, 2, 2],
60+
"y": [0, 0, 0],
61+
"z": [1, 2, 3],
62+
"mode": "lines+markers",
63+
"line": {
64+
"width": 3,
65+
"colorscale": "RdBu",
66+
"color": [0, 1, 2]
67+
},
68+
"marker": {
69+
"colorscale": "RdBu",
70+
"color": [0, 1, 2]
71+
}
72+
},
73+
{
74+
"type": "scatter3d",
75+
"x": [3, 3, 3],
76+
"y": [0, 0, 0],
77+
"z": [1, 2, 3],
78+
"mode": "lines+markers",
79+
"line": {
80+
"width": 3,
81+
"colorscale": "BuRd",
82+
"color": [0, 1, 2]
83+
},
84+
"marker": {
85+
"colorscale": "BuRd",
86+
"color": [0, 1, 2]
1287
}
1388
}
1489
]

0 commit comments

Comments
 (0)