Skip to content

Commit de30fb6

Browse files
committed
add new test
1 parent 36ec0e8 commit de30fb6

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
39.1 KB
Loading
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"data": [
3+
{
4+
"type": "cone",
5+
"x": [1, 2, 3],
6+
"y": [1, 2, 3],
7+
"z": [1, 2, 3],
8+
"u": [1, 0, 0],
9+
"v": [0, 3, 0],
10+
"w": [0, 0, 2],
11+
"sizemode": "vector",
12+
"anchor": "tip",
13+
"colorbar": {
14+
"title": { "text": "vector<br>sizeref: 1" },
15+
"x": 0,
16+
"xanchor": "right"
17+
}
18+
},
19+
{
20+
"type": "cone",
21+
"x": [1, 2, 3],
22+
"y": [1, 2, 3],
23+
"z": [1, 2, 3],
24+
"u": [0.5, 0, 0],
25+
"v": [0, 1.5, 0],
26+
"w": [0, 0, 1],
27+
"sizemode": "vector",
28+
"anchor": "tip",
29+
"colorbar": {
30+
"title": { "text": "vector<br>sizeref: 1" }
31+
},
32+
"scene": "scene2"
33+
}
34+
],
35+
"layout": {
36+
"scene": {
37+
"domain": {"x": [0, 0.5]},
38+
"aspectratio": {
39+
"x": 1.5,
40+
"y": 1.5,
41+
"z": 1.5
42+
},
43+
"camera": {
44+
"projection": {"type": "orthographic"},
45+
"up": {"x": 0, "y": 1, "z": 0},
46+
"eye": {"x": 0, "y": 0, "z": 3}
47+
}
48+
},
49+
"scene2": {
50+
"domain": {"x": [0.5, 1]},
51+
"aspectratio": {
52+
"x": 1.5,
53+
"y": 1.5,
54+
"z": 1.5
55+
},
56+
"camera": {
57+
"projection": {"type": "orthographic"},
58+
"up": {"x": 0, "y": 1, "z": 0},
59+
"eye": {"x": 0, "y": 0, "z": 3}
60+
}
61+
},
62+
"width": 1000,
63+
"height": 500
64+
}
65+
}

0 commit comments

Comments
 (0)