Skip to content

Commit 0414976

Browse files
committed
removed spaces from json mocks
1 parent 7fa34f6 commit 0414976

File tree

3 files changed

+3
-190
lines changed

3 files changed

+3
-190
lines changed
Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1 @@
1-
{
2-
"data": [
3-
{"x": [0.2], "y": [0.4], "z": [-0.6], "u": [1], "v": [1], "w": [0], "type": "cone"},
4-
{"x": [0.4], "y": [-0.6], "z": [0.2], "u": [1], "v": [0], "w": [1], "type": "cone"},
5-
{"x": [-0.6], "y": [0.2], "z": [0.4], "u": [0], "v": [1], "w": [1], "type": "cone"},
6-
{"x": [-0.2], "y": [-0.4], "z": [0.6], "u": [-1], "v": [-1], "w": [0], "type": "cone"},
7-
{"x": [-0.4], "y": [0.6], "z": [-0.2], "u": [-1], "v": [0], "w": [-1], "type": "cone"},
8-
{"x": [0.6], "y": [-0.2], "z": [-0.4], "u": [0], "v": [-1], "w": [-1], "type": "cone"}
9-
],
10-
"layout": {
11-
"height": 758,
12-
"width": 1310,
13-
"title": "Cone objects with Y-axis using autorange: 'reversed'",
14-
"scene": {
15-
"yaxis": {
16-
"autorange": "reversed"
17-
},
18-
"camera": {
19-
"eye": {
20-
"x": 1,
21-
"y": -1.5,
22-
"z": 1.25
23-
}
24-
}
25-
}
26-
}
27-
}
1+
{"data":[{"x":[0.2],"y":[0.4],"z":[-0.6],"u":[1],"v":[1],"w":[0],"type":"cone"},{"x":[0.4],"y":[-0.6],"z":[0.2],"u":[1],"v":[0],"w":[1],"type":"cone"},{"x":[-0.6],"y":[0.2],"z":[0.4],"u":[0],"v":[1],"w":[1],"type":"cone"},{"x":[-0.2],"y":[-0.4],"z":[0.6],"u":[-1],"v":[-1],"w":[0],"type":"cone"},{"x":[-0.4],"y":[0.6],"z":[-0.2],"u":[-1],"v":[0],"w":[-1],"type":"cone"},{"x":[0.6],"y":[-0.2],"z":[-0.4],"u":[0],"v":[-1],"w":[-1],"type":"cone"}],"layout":{"height":758,"width":1310,"title":"Cone objects with Y-axis using autorange: 'reversed'","scene":{"yaxis":{"autorange":"reversed"},"camera":{"eye":{"x":1,"y":-1.5,"z":1.25}}}}}
Lines changed: 1 addition & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1 @@
1-
{
2-
"data": [
3-
{
4-
"x": [1, 1, 3, 3, 1, 1, 3, 3],
5-
"y": [21, 23, 23, 21, 21, 23, 23, 21],
6-
"z": [1e-2, 1e-2, 1e-2, 1e-2, 1e+2, 1e+2, 1e+2, 1e+2],
7-
"i": [7, 0, 0, 0, 4, 4, 2, 6, 4, 0, 3, 7],
8-
"j": [3, 4, 1, 2, 5, 6, 5, 5, 0, 1, 2, 2],
9-
"k": [0, 7, 2, 3, 6, 7, 1, 2, 5, 5, 7, 6],
10-
"type": "mesh3d"
11-
},
12-
{
13-
"x": [5,-5],
14-
"y": [10,15],
15-
"z": [[1e-2,1e+2],[1e+3,1e-1],[1e+2,1e-2],[1e-3,1e+1]],
16-
"type": "surface",
17-
"colorscale": [
18-
[
19-
0.0,
20-
"rgb(127, 127, 255)"
21-
],
22-
[
23-
0.1,
24-
"rgb(63, 63, 255)"
25-
],
26-
[
27-
0.2,
28-
"rgb(0, 0, 255)"
29-
],
30-
[
31-
0.3,
32-
"rgb(0, 63, 191)"
33-
],
34-
[
35-
0.4,
36-
"rgb(0, 127, 127)"
37-
],
38-
[
39-
0.5,
40-
"rgb(0, 191, 63)"
41-
],
42-
[
43-
0.6,
44-
"rgb(0, 255, 0)"
45-
],
46-
[
47-
0.7,
48-
"rgb(63, 191, 0)"
49-
],
50-
[
51-
0.8,
52-
"rgb(127, 127, 0)"
53-
],
54-
[
55-
0.9,
56-
"rgb(191, 63, 0)"
57-
],
58-
[
59-
1.0,
60-
"rgb(255, 0, 0)"
61-
]
62-
],
63-
"cmin": 0,
64-
"cmax": 2
65-
},
66-
{
67-
"x": [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5],
68-
"y": [25, 16, 9, 4, 1, 0, 1, 4, 9, 16, 25],
69-
"z": [1e-5, 1e-4, 1e-3, 1e-2, 1e-1, 1e0, 1e+1, 1e+2, 1e+3, 1e+4, 1e+5],
70-
"line": {
71-
"color": "black",
72-
"width": 5
73-
},
74-
"text": ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K"],
75-
"type": "scatter3d",
76-
"mode": "markers+lines+text",
77-
"error_x": {
78-
"type": "sqrt",
79-
"color": "red"
80-
},
81-
"error_y": {
82-
"type": "sqrt",
83-
"color": "green"
84-
},
85-
"error_z": {
86-
"type": "sqrt",
87-
"color": "blue"
88-
}
89-
}
90-
],
91-
"layout": {
92-
"height": 758,
93-
"width": 1310,
94-
"title": "X-axis using autorange: 'reversed', Y-axis using range: [30, -5] & Z-axis using range: 'reversed' & type: log",
95-
"scene": {
96-
"xaxis": {
97-
"autorange": "reversed",
98-
"showbackground": true,
99-
"backgroundcolor": "rgb(127, 191, 191)",
100-
"gridcolor": "rgb(255, 255, 255)",
101-
"zerolinecolor": "rgb(63, 0, 0)",
102-
"zerolinewidth": 5
103-
},
104-
"yaxis": {
105-
"range": [30, -5],
106-
"showbackground": true,
107-
"backgroundcolor": "rgb(191, 127, 191)",
108-
"gridcolor": "rgb(255, 255, 255)",
109-
"zerolinecolor": "rgb(0, 63, 0)",
110-
"zerolinewidth": 5
111-
},
112-
"zaxis": {
113-
"autorange": "reversed",
114-
"type": "log",
115-
"showbackground": true,
116-
"backgroundcolor": "rgb(191, 191, 127)",
117-
"gridcolor": "rgb(255, 255, 255)",
118-
"zerolinecolor": "rgb(0, 0, 63)",
119-
"zerolinewidth": 5
120-
},
121-
"camera": {
122-
"eye": {
123-
"x": -1.75,
124-
"y": -0.75,
125-
"z": 0.75
126-
}
127-
}
128-
}
129-
}
130-
}
1+
{"data":[{"x":[1,1,3,3,1,1,3,3],"y":[21,23,23,21,21,23,23,21],"z":[1e-2,1e-2,1e-2,1e-2,1e+2,1e+2,1e+2,1e+2],"i":[7,0,0,0,4,4,2,6,4,0,3,7],"j":[3,4,1,2,5,6,5,5,0,1,2,2],"k":[0,7,2,3,6,7,1,2,5,5,7,6],"type":"mesh3d"},{"x":[5,-5],"y":[10,15],"z":[[1e-2,1e+2],[1e+3,1e-1],[1e+2,1e-2],[1e-3,1e+1]],"type":"surface","colorscale":[[0.0,"rgb(127,127,255)"],[0.1,"rgb(63,63,255)"],[0.2,"rgb(0,0,255)"],[0.3,"rgb(0,63,191)"],[0.4,"rgb(0,127,127)"],[0.5,"rgb(0,191,63)"],[0.6,"rgb(0,255,0)"],[0.7,"rgb(63,191,0)"],[0.8,"rgb(127,127,0)"],[0.9,"rgb(191,63,0)"],[1.0,"rgb(255,0,0)"]],"cmin":0,"cmax":2},{"x":[-5,-4,-3,-2,-1,0,1,2,3,4,5],"y":[25,16,9,4,1,0,1,4,9,16,25],"z":[1e-5,1e-4,1e-3,1e-2,1e-1,1e0,1e+1,1e+2,1e+3,1e+4,1e+5],"line":{"color":"black","width":5},"text":["A","B","C","D","E","F","G","H","I","J","K"],"type":"scatter3d","mode":"markers+lines+text","error_x":{"type":"sqrt","color":"red"},"error_y":{"type":"sqrt","color":"green"},"error_z":{"type":"sqrt","color":"blue"}}],"layout":{"height":758,"width":1310,"title":"X-axis using autorange:'reversed',Y-axis using range:[30,-5] & Z-axis using range:'reversed' & type:log","scene":{"xaxis":{"autorange":"reversed","showbackground":true,"backgroundcolor":"rgb(127,191,191)","gridcolor":"rgb(255,255,255)","zerolinecolor":"rgb(63,0,0)","zerolinewidth":5},"yaxis":{"range":[30,-5],"showbackground":true,"backgroundcolor":"rgb(191,127,191)","gridcolor":"rgb(255,255,255)","zerolinecolor":"rgb(0,63,0)","zerolinewidth":5},"zaxis":{"autorange":"reversed","type":"log","showbackground":true,"backgroundcolor":"rgb(191,191,127)","gridcolor":"rgb(255,255,255)","zerolinecolor":"rgb(0,0,63)","zerolinewidth":5},"camera":{"eye":{"x":-1.75,"y":-0.75,"z":0.75}}}}}
Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1 @@
1-
{
2-
"data": [
3-
{
4-
"type": "streamtube",
5-
"x": [0, 0, 0, 1, 1, 1, 2, 2, 2, 0, 0, 0, 1, 1, 1, 2, 2, 2, 0, 0, 0, 1, 1, 1, 2, 2, 2],
6-
"y": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2],
7-
"z": [0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2],
8-
"u": [1,1,1,0.5,0.5,0.5,0.25,0.25,0.25,1,1,1,0.5,0.5,0.5,0.25,0.25,0.25,1,1,1,0.5,0.5,0.5,0.25,0.25,0.25],
9-
"v": [1,1,1,1,1,1,1,1,1,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,2,2,2,2,2,2,2,2,2],
10-
"w": [0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4],
11-
"sizeref": 0.5,
12-
"cmin": 0,
13-
"cmax": 3
14-
}
15-
],
16-
"layout": {
17-
"height": 758,
18-
"width": 1310,
19-
"title": "Streamtube, X & Y axes reversed using autorange: 'reversed', Z-axis reversed using range: [2, -2]",
20-
"scene": {
21-
"camera": {
22-
"eye": {
23-
"x": 0.5,
24-
"y": -2.0,
25-
"z": 1.0,
26-
}
27-
},
28-
"xaxis":{ "autorange": "reversed" },
29-
"yaxis":{ "autorange": "reversed" },
30-
"zaxis":{ "range": [2, -2] }
31-
}
32-
}
33-
}
1+
{"data":[{"type":"streamtube","x":[0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2,0,0,0,1,1,1,2,2,2],"y":[0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2],"z":[0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2],"u":[1,1,1,0.5,0.5,0.5,0.25,0.25,0.25,1,1,1,0.5,0.5,0.5,0.25,0.25,0.25,1,1,1,0.5,0.5,0.5,0.25,0.25,0.25],"v":[1,1,1,1,1,1,1,1,1,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,2,2,2,2,2,2,2,2,2],"w":[0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4,0,0.2,0.4],"sizeref":0.5, "cmin":0,"cmax":3}],"layout":{"height":758,"width":1310,"title":"Streamtube, X & Y axes reversed using autorange: 'reversed', Z-axis reversed using range: [2, -2]","scene":{"camera":{"eye":{"x":0.5,"y":-2.0,"z":1.0,}},"xaxis":{"autorange":"reversed"},"yaxis":{"autorange":"reversed"},"zaxis":{"range":[2,-2]}}}}

0 commit comments

Comments
 (0)