Skip to content

Commit 945325f

Browse files
authored
Merge pull request #643 from plotly/mesh3d-image-test
Add gl3d colorscale mock and baseline
2 parents 5dc63d5 + f6679f8 commit 945325f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
41.5 KB
Loading
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"data": [
3+
{
4+
"type":"mesh3d",
5+
"y":[0, 0, 1, 2],
6+
"x":[0, 1, 2, 0],
7+
"z":[0, 2, 0, 1],
8+
"i":[0, 0, 0, 1],
9+
"j":[1, 2, 3, 2],
10+
"k":[2, 3, 1, 3],
11+
"colorscale": [
12+
[0, "rgb(0, 0, 0)"],
13+
[0.33, "rgb(255, 0, 0)"],
14+
[0.66, "rgb(0, 255, 0)"],
15+
[1, "rgb(0, 0, 255)"]
16+
],
17+
"intensity": [0, 0.33, 0.66, 1]
18+
}],
19+
"layout": {
20+
"title": "Tetrahedra Custom Colorscale"
21+
}
22+
}

0 commit comments

Comments
 (0)