Skip to content

Commit 8608dd3

Browse files
committed
added a mock to lock the bug
1 parent d3fe4ab commit 8608dd3

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"data": [
3+
{
4+
"x": [0, 1, 2, 3, 4],
5+
"y": [0, 1, 2, 3, 4],
6+
"z": [0,-1,-2,-3,-4],
7+
"mode": "markers+lines",
8+
"marker": {
9+
"size": 50,
10+
"color": ["rgb(0, 255, 0, 0.5)", "rgb(255, 0, 0, 0.0)", "rgb(255, 0, 0, 0.0)", "rgb(255, 0, 0, 0.0)", "rgb(0, 0, 255, 1.0)"],
11+
"opacity": 0.999
12+
},
13+
"line": {
14+
"width": 50,
15+
"color": ["rgb(0, 255, 0, 0.5)", "rgb(255, 0, 0, 0.0)", "rgb(255, 0, 0, 0.0)", "rgb(255, 0, 0, 0.0)", "rgb(0, 0, 255, 1.0)"],
16+
"opacity": 0.999
17+
},
18+
"error_z": {
19+
"type": "sqrt",
20+
"line": { "thickness": 10 },
21+
"color": "rgb(0, 255, 0, 0.0)",
22+
"opacity": 0.999
23+
},
24+
"error_x": {
25+
"type": "sqrt"
26+
},
27+
"error_y": {
28+
"type": "sqrt"
29+
},
30+
"type": "scatter3d"
31+
}
32+
],
33+
"layout": {
34+
"title": {
35+
"text": "Should not draw transparent scatter3d markers and lines<br>when color.alpha is zero"
36+
},
37+
"width": 600,
38+
"height": 600,
39+
"scene": {
40+
"xaxis": { "nticks": 12 },
41+
"yaxis": { "nticks": 12 },
42+
"zaxis": { "nticks": 12 }
43+
}
44+
}
45+
46+
}

0 commit comments

Comments
 (0)