Skip to content

Commit 27ba6c1

Browse files
committed
add failing tests for blend in gl3d
1 parent 879b006 commit 27ba6c1

16 files changed

+2810
-0
lines changed
60.2 KB
Loading
Loading
135 KB
Loading
Loading
Loading
Loading
Loading
121 KB
Loading

test/image/mocks/gl3d_blend-colorscale.json

+839
Large diffs are not rendered by default.

test/image/mocks/gl3d_blend-isosurface.json

+814
Large diffs are not rendered by default.
+335
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,335 @@
1+
{
2+
"data": [
3+
{
4+
"scene": "scene1",
5+
"x": [
6+
0,
7+
1,
8+
1,
9+
0
10+
],
11+
"y": [
12+
0,
13+
0,
14+
1,
15+
1
16+
],
17+
"z": [
18+
0,
19+
0,
20+
0,
21+
0
22+
],
23+
"type": "scatter3d",
24+
"mode": "markers",
25+
"name": "0.2",
26+
"marker": {
27+
"color": "rgb(0, 0, 255)",
28+
"opacity": 0.2,
29+
"size": 75
30+
}
31+
},
32+
{
33+
"scene": "scene1",
34+
"x": [
35+
0,
36+
1,
37+
1,
38+
0
39+
],
40+
"y": [
41+
0,
42+
0,
43+
1,
44+
1
45+
],
46+
"z": [
47+
1,
48+
1,
49+
1,
50+
1
51+
],
52+
"type": "scatter3d",
53+
"mode": "markers",
54+
"name": "0.2",
55+
"marker": {
56+
"color": "rgba(255, 0, 0, 0.2)",
57+
"size": 75
58+
}
59+
},
60+
{
61+
"scene": "scene2",
62+
"x": [
63+
0,
64+
1,
65+
1,
66+
0
67+
],
68+
"y": [
69+
0,
70+
0,
71+
1,
72+
1
73+
],
74+
"z": [
75+
0,
76+
0,
77+
0,
78+
0
79+
],
80+
"type": "scatter3d",
81+
"mode": "markers",
82+
"name": "0.4",
83+
"marker": {
84+
"color": "rgb(0, 0, 255)",
85+
"opacity": 0.4,
86+
"size": 75
87+
}
88+
},
89+
{
90+
"scene": "scene2",
91+
"x": [
92+
0,
93+
1,
94+
1,
95+
0
96+
],
97+
"y": [
98+
0,
99+
0,
100+
1,
101+
1
102+
],
103+
"z": [
104+
1,
105+
1,
106+
1,
107+
1
108+
],
109+
"type": "scatter3d",
110+
"mode": "markers",
111+
"name": "0.4",
112+
"marker": {
113+
"color": "rgba(255, 0, 0, 0.4)",
114+
"size": 75
115+
}
116+
},
117+
{
118+
"scene": "scene3",
119+
"x": [
120+
0,
121+
1,
122+
1,
123+
0
124+
],
125+
"y": [
126+
0,
127+
0,
128+
1,
129+
1
130+
],
131+
"z": [
132+
0,
133+
0,
134+
0,
135+
0
136+
],
137+
"type": "scatter3d",
138+
"mode": "markers",
139+
"name": "0.6",
140+
"marker": {
141+
"color": "rgb(0, 0, 255)",
142+
"opacity": 0.6,
143+
"size": 75
144+
}
145+
},
146+
{
147+
"scene": "scene3",
148+
"x": [
149+
0,
150+
1,
151+
1,
152+
0
153+
],
154+
"y": [
155+
0,
156+
0,
157+
1,
158+
1
159+
],
160+
"z": [
161+
1,
162+
1,
163+
1,
164+
1
165+
],
166+
"type": "scatter3d",
167+
"mode": "markers",
168+
"name": "0.6",
169+
"marker": {
170+
"color": "rgba(255, 0, 0, 0.6)",
171+
"size": 75
172+
}
173+
},
174+
{
175+
"scene": "scene4",
176+
"x": [
177+
0,
178+
1,
179+
1,
180+
0
181+
],
182+
"y": [
183+
0,
184+
0,
185+
1,
186+
1
187+
],
188+
"z": [
189+
0,
190+
0,
191+
0,
192+
0
193+
],
194+
"type": "scatter3d",
195+
"mode": "markers",
196+
"name": "0.8",
197+
"marker": {
198+
"color": "rgb(0, 0, 255)",
199+
"opacity": 0.8,
200+
"size": 75
201+
}
202+
},
203+
{
204+
"scene": "scene4",
205+
"x": [
206+
0,
207+
1,
208+
1,
209+
0
210+
],
211+
"y": [
212+
0,
213+
0,
214+
1,
215+
1
216+
],
217+
"z": [
218+
1,
219+
1,
220+
1,
221+
1
222+
],
223+
"type": "scatter3d",
224+
"mode": "markers",
225+
"name": "0.8",
226+
"marker": {
227+
"color": "rgba(255, 0, 0, 0.8)",
228+
"size": 75
229+
}
230+
}
231+
],
232+
"layout": {
233+
"coloraxis": {
234+
"colorscale": "Portland"
235+
},
236+
"title": {
237+
"text": "scatter3d with different marker.opacity values"
238+
},
239+
"legend": {
240+
"title": {
241+
"text": "<b>opacity</b>"
242+
}
243+
},
244+
"width": 800,
245+
"height": 800,
246+
"scene1": {
247+
"domain": {
248+
"x": [
249+
0,
250+
0.48
251+
],
252+
"y": [
253+
0.52,
254+
1
255+
]
256+
},
257+
"camera": {
258+
"eye": {
259+
"x": 1,
260+
"y": 1,
261+
"z": 0.5
262+
},
263+
"projection": {
264+
"type": "orthographic"
265+
}
266+
}
267+
},
268+
"scene2": {
269+
"domain": {
270+
"x": [
271+
0.52,
272+
1
273+
],
274+
"y": [
275+
0.52,
276+
1
277+
]
278+
},
279+
"camera": {
280+
"eye": {
281+
"x": 1,
282+
"y": 1,
283+
"z": 0.5
284+
},
285+
"projection": {
286+
"type": "orthographic"
287+
}
288+
}
289+
},
290+
"scene3": {
291+
"domain": {
292+
"x": [
293+
0,
294+
0.48
295+
],
296+
"y": [
297+
0,
298+
0.48
299+
]
300+
},
301+
"camera": {
302+
"eye": {
303+
"x": 1,
304+
"y": 1,
305+
"z": 0.5
306+
},
307+
"projection": {
308+
"type": "orthographic"
309+
}
310+
}
311+
},
312+
"scene4": {
313+
"domain": {
314+
"x": [
315+
0.52,
316+
1
317+
],
318+
"y": [
319+
0,
320+
0.48
321+
]
322+
},
323+
"camera": {
324+
"eye": {
325+
"x": 1,
326+
"y": 1,
327+
"z": 0.5
328+
},
329+
"projection": {
330+
"type": "orthographic"
331+
}
332+
}
333+
}
334+
}
335+
}

0 commit comments

Comments
 (0)