Skip to content

Commit d554594

Browse files
committed
edit gl3d mocks which should have rgba instead of rgb
1 parent 1f38246 commit d554594

3 files changed

+10
-10
lines changed

test/image/mocks/gl3d_mesh3d_enable-alpha-with-rgba-color.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"j":[1, 2, 3, 2],
1010
"k":[2, 3, 1, 3],
1111
"vertexcolor": [
12-
"rgb(0, 0, 0, 1.0)",
13-
"rgb(255, 0, 0, 0.1)",
14-
"rgb(0, 255, 0, 0.1)",
15-
"rgb(0, 0, 255, 0.1)"
12+
"rgba(0, 0, 0, 1.0)",
13+
"rgba(255, 0, 0, 0.1)",
14+
"rgba(0, 255, 0, 0.1)",
15+
"rgba(0, 0, 255, 0.1)"
1616
]
1717
}
1818
],

test/image/mocks/gl3d_scatter3d_line3d_error3d_enable-alpha-with-rgba-color.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
"mode": "markers+lines",
88
"marker": {
99
"size": 50,
10-
"color": ["rgb(0, 255, 0, 1.0)", "rgb(255, 0, 0, 1.0)", "rgb(255, 0, 0, 0.2)", "rgb(255, 0, 0, 1.0)", "rgb(0, 0, 255, 1.0)"]
10+
"color": ["rgba(0, 255, 0, 1.0)", "rgba(255, 0, 0, 1.0)", "rgba(255, 0, 0, 0.2)", "rgba(255, 0, 0, 1.0)", "rgba(0, 0, 255, 1.0)"]
1111
},
1212
"line": {
1313
"width": 50,
14-
"color": ["rgb(0, 255, 0, 1.0)", "rgb(255, 0, 0, 1.0)", "rgb(255, 0, 0, 0.2)", "rgb(255, 0, 0, 1.0)", "rgb(0, 0, 255, 1.0)"]
14+
"color": ["rgba(0, 255, 0, 1.0)", "rgba(255, 0, 0, 1.0)", "rgba(255, 0, 0, 0.2)", "rgba(255, 0, 0, 1.0)", "rgba(0, 0, 255, 1.0)"]
1515
},
1616
"error_z": {
1717
"type": "sqrt",
1818
"line": { "thickness": 10 },
19-
"color": "rgb(255, 127, 0, 0.75)"
19+
"color": "rgba(255, 127, 0, 0.75)"
2020
},
2121
"error_x": {
2222
"type": "sqrt"

test/image/mocks/gl3d_scatter3d_line3d_error3d_transparent-with-zero-alpha.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
"mode": "markers+lines",
88
"marker": {
99
"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)"],
10+
"color": ["rgba(0, 255, 0, 0.5)", "rgba(255, 0, 0, 0.0)", "rgba(255, 0, 0, 0.0)", "rgba(255, 0, 0, 0.0)", "rgba(0, 0, 255, 1.0)"],
1111
"opacity": 0.999
1212
},
1313
"line": {
1414
"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)"],
15+
"color": ["rgba(0, 255, 0, 0.5)", "rgba(255, 0, 0, 0.0)", "rgba(255, 0, 0, 0.0)", "rgba(255, 0, 0, 0.0)", "rgba(0, 0, 255, 1.0)"],
1616
"opacity": 0.999
1717
},
1818
"error_z": {
1919
"type": "sqrt",
2020
"line": { "thickness": 10 },
21-
"color": "rgb(0, 255, 0, 0.0)",
21+
"color": "rgba(0, 255, 0, 0.0)",
2222
"opacity": 0.999
2323
},
2424
"error_x": {

0 commit comments

Comments
 (0)