Skip to content

Commit 3bf6abb

Browse files
committed
Add log, date and categorical axes to fixed_size_shapes mock #2193
1 parent 502aa6a commit 3bf6abb

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed
5.67 KB
Loading

test/image/mocks/fixed_size_shapes.json

+13-9
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
"x": [1,4],
55
"y": [1,4]
66
}, {
7-
"x": [1,4],
8-
"y": [1,5],
7+
"x": [1,3,4],
8+
"y": ["Giraffes","Apes","Zebras"],
99
"xaxis": "x2",
1010
"yaxis": "y2"
1111
}, {
12-
"x": [1,4],
13-
"y": [1,5],
12+
"x": [
13+
"2018-01-01 00:00:00",
14+
"2018-02-01 00:00:00",
15+
"2018-03-01 00:00:00"
16+
],
17+
"y": [1,5,7],
1418
"xaxis": "x3",
1519
"yaxis": "y3"
1620
}, {
@@ -32,7 +36,7 @@
3236
},
3337
"yaxis": {
3438
"domain": [0.55,1],
35-
"type": "linear",
39+
"type": "log",
3640
"anchor": "x"
3741
},
3842
"xaxis2": {
@@ -42,7 +46,7 @@
4246
},
4347
"yaxis2": {
4448
"domain": [0.55,1],
45-
"type": "linear",
49+
"type": "categorical",
4650
"anchor": "x2"
4751
},
4852
"xaxis3": {
@@ -128,7 +132,7 @@
128132
"ysizemode": "pixel",
129133
"fillcolor": "rgba(96, 171, 50,0.7)",
130134
"xanchor": 6,
131-
"yanchor": -3,
135+
"yanchor": 2,
132136
"x0": -20,
133137
"x1": 60,
134138
"y0": 0,
@@ -145,7 +149,7 @@
145149
"ysizemode": "pixel",
146150
"fillcolor": "rgba(96, 171, 50,0.7)",
147151
"xanchor": -1,
148-
"yanchor": 10,
152+
"yanchor": 1,
149153
"path": "M0,0 L30,0 L15,15 Z",
150154
"line": {
151155
"color": "rgba(96, 171, 50, 1)"
@@ -158,7 +162,7 @@
158162
"yref": "y3",
159163
"ysizemode": "pixel",
160164
"fillcolor": "rgba(96, 171, 50,0.7)",
161-
"xanchor": 2,
165+
"xanchor": "2018-02-15 00:00:00",
162166
"yanchor": 2,
163167
"x0": 3,
164168
"x1": 53,

0 commit comments

Comments
 (0)