Skip to content

Commit ecfb79a

Browse files
committed
validate various gl3d mocks
1 parent fea81e4 commit ecfb79a

18 files changed

+29
-75
lines changed

test/image/mocks/gl3d_coloraxes.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
{
124124
"type": "isosurface",
125125
"isomax": 0,
126-
"isomin": null,
127126
"value": [
128127
0, 125, 250, 375, 500, 625, 750, 875, 1000,
129128
-125, 0, 125, 250, 375, 500, 625, 750, 875,

test/image/mocks/gl3d_directions-isosurface1.json

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

test/image/mocks/gl3d_directions-isosurface2.json

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

test/image/mocks/gl3d_directions-streamtube1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"y": [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4],
1616
"z": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
1717
},
18-
"scene": "scene1"
18+
"scene": "scene"
1919
},
2020
{
2121
"opacity": 0.3,
@@ -112,7 +112,7 @@
112112
"u": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
113113
"v": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
114114
"w": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
115-
"scene": "scene1"
115+
"scene": "scene"
116116
},
117117
{
118118
"opacity": 0.3,
@@ -181,7 +181,7 @@
181181
"t": 0,
182182
"b": 0
183183
},
184-
"scene1": {
184+
"scene": {
185185
"camera": {
186186
"projection": {
187187
"type": "orthographic"

test/image/mocks/gl3d_directions-streamtube2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"y": [0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3, -4, -4, -4, -4, -4],
1616
"x": [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
1717
},
18-
"scene": "scene1"
18+
"scene": "scene"
1919
},
2020
{
2121
"opacity": 0.3,
@@ -112,7 +112,7 @@
112112
"w": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
113113
"v": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
114114
"u": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4],
115-
"scene": "scene1"
115+
"scene": "scene"
116116
},
117117
{
118118
"opacity": 0.3,
@@ -181,7 +181,7 @@
181181
"t": 0,
182182
"b": 0
183183
},
184-
"scene1": {
184+
"scene": {
185185
"camera": {
186186
"projection": {
187187
"type": "orthographic"

test/image/mocks/gl3d_directions-volume1.json

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

test/image/mocks/gl3d_errorbars_sqrt.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
4,
2424
2
2525
],
26-
"value": 2,
2726
"width": 10
2827
},
2928
"error_x": {

test/image/mocks/gl3d_indicator_scatter3d.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
"type": "indicator",
99
"mode": "number+delta",
1010
"delta": {"reference": 9},
11-
"ticker": {
12-
"showticker": true,
13-
"showpercentage": true
14-
},
1511
"value": 10
1612
}, {
1713
"type": "scatter3d",
@@ -37,7 +33,6 @@
3733
"family": "Dosis"
3834
},
3935
"paper_bgcolor": "black",
40-
"plot_bgcolor": "black",
4136
"margin": {
4237
"t": 25,
4338
"r": 25,

test/image/mocks/gl3d_mirror-ticks.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,6 @@
2121
}
2222
],
2323
"layout": {
24-
"yaxis": {
25-
"type": "linear",
26-
"ticks": "outside",
27-
"ticklen": 10,
28-
"tickwidth": 5.3,
29-
"tickcolor": "rgb(214, 39, 40)",
30-
"showline": true,
31-
"mirror": "ticks",
32-
"linecolor": "rgb(0, 255, 0)",
33-
"linewidth": 4.2
34-
},
35-
"xaxis": {
36-
"type": "linear",
37-
"ticks": "outside",
38-
"ticklen": 10,
39-
"tickwidth": 5.3,
40-
"tickcolor": "rgb(214, 39, 40)",
41-
"showline": true,
42-
"mirror": "ticks",
43-
"linecolor": "rgb(0, 255, 0)",
44-
"linewidth": 4.2
45-
},
4624
"scene": {
4725
"xaxis": {
4826
"type": "linear",

test/image/mocks/gl3d_multi-scene.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"marker": {
88
"color": "blue"
99
},
10-
"scene": "scene1"
10+
"scene": "scene"
1111
},{
1212
"type": "scatter3d",
1313
"x": [2],
@@ -20,7 +20,7 @@
2020
}],
2121
"layout": {
2222
"title": {"text": "scene should be the same as scene1"},
23-
"scene1": {
23+
"scene": {
2424
"domain": {
2525
"x": [0, 0.5],
2626
"y": [0, 0.5]

0 commit comments

Comments
 (0)