Skip to content

Commit 422bd72

Browse files
committed
add a failing test for autorange reversed
1 parent 9c0d92b commit 422bd72

File tree

2 files changed

+289
-0
lines changed

2 files changed

+289
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scatter",
5+
"mode": "lines+markers",
6+
"x": [
7+
"1970-01-01 00:00",
8+
"1970-01-01 03:00",
9+
"1970-01-01 06:00",
10+
"1970-01-01 09:00",
11+
"1970-01-01 12:00",
12+
"1970-01-01 15:00",
13+
"1970-01-01 18:00",
14+
"1970-01-01 21:00",
15+
"1970-01-02 00:00",
16+
"1970-01-02 03:00",
17+
"1970-01-02 06:00",
18+
"1970-01-02 09:00",
19+
"1970-01-02 12:00",
20+
"1970-01-02 15:00",
21+
"1970-01-02 18:00",
22+
"1970-01-02 21:00",
23+
"1970-01-03 00:00",
24+
"1970-01-03 03:00",
25+
"1970-01-03 06:00",
26+
"1970-01-03 09:00",
27+
"1970-01-03 12:00",
28+
"1970-01-03 15:00",
29+
"1970-01-03 18:00",
30+
"1970-01-03 21:00",
31+
"1970-01-04 00:00",
32+
"1970-01-04 03:00",
33+
"1970-01-04 06:00",
34+
"1970-01-04 09:00",
35+
"1970-01-04 12:00",
36+
"1970-01-04 15:00",
37+
"1970-01-04 18:00",
38+
"1970-01-04 21:00"
39+
],
40+
"y": [
41+
1, 2, 3, 4, 5, 6, 7, 8,
42+
9, 10, 11, 12, 13, 14, 15, 16,
43+
17, 18, 19, 20, 21, 22, 23, 24,
44+
25, 26, 27, 28, 29, 30, 31, 32
45+
]
46+
},
47+
{
48+
"xaxis": "x2",
49+
"yaxis": "y2",
50+
"type": "scatter",
51+
"mode": "lines+markers",
52+
"x": [
53+
"1970-01-01 00:00",
54+
"1970-01-01 03:00",
55+
"1970-01-01 06:00",
56+
"1970-01-01 09:00",
57+
"1970-01-01 12:00",
58+
"1970-01-01 15:00",
59+
"1970-01-01 18:00",
60+
"1970-01-01 21:00",
61+
"1970-01-02 00:00",
62+
"1970-01-02 03:00",
63+
"1970-01-02 06:00",
64+
"1970-01-02 09:00",
65+
"1970-01-02 12:00",
66+
"1970-01-02 15:00",
67+
"1970-01-02 18:00",
68+
"1970-01-02 21:00",
69+
"1970-01-03 00:00",
70+
"1970-01-03 03:00",
71+
"1970-01-03 06:00",
72+
"1970-01-03 09:00",
73+
"1970-01-03 12:00",
74+
"1970-01-03 15:00",
75+
"1970-01-03 18:00",
76+
"1970-01-03 21:00",
77+
"1970-01-04 00:00",
78+
"1970-01-04 03:00",
79+
"1970-01-04 06:00",
80+
"1970-01-04 09:00",
81+
"1970-01-04 12:00",
82+
"1970-01-04 15:00",
83+
"1970-01-04 18:00",
84+
"1970-01-04 21:00"
85+
],
86+
"y": [
87+
1, 2, 3, 4, 5, 6, 7, 8,
88+
9, 10, 11, 12, 13, 14, 15, 16,
89+
17, 18, 19, 20, 21, 22, 23, 24,
90+
25, 26, 27, 28, 29, 30, 31, 32
91+
]
92+
},
93+
{
94+
"xaxis": "x3",
95+
"yaxis": "y3",
96+
"type": "scatter",
97+
"mode": "lines+markers",
98+
"orientation": "h",
99+
"y": [
100+
"1970-01-01 00:00",
101+
"1970-01-01 03:00",
102+
"1970-01-01 06:00",
103+
"1970-01-01 09:00",
104+
"1970-01-01 12:00",
105+
"1970-01-01 15:00",
106+
"1970-01-01 18:00",
107+
"1970-01-01 21:00",
108+
"1970-01-02 00:00",
109+
"1970-01-02 03:00",
110+
"1970-01-02 06:00",
111+
"1970-01-02 09:00",
112+
"1970-01-02 12:00",
113+
"1970-01-02 15:00",
114+
"1970-01-02 18:00",
115+
"1970-01-02 21:00",
116+
"1970-01-03 00:00",
117+
"1970-01-03 03:00",
118+
"1970-01-03 06:00",
119+
"1970-01-03 09:00",
120+
"1970-01-03 12:00",
121+
"1970-01-03 15:00",
122+
"1970-01-03 18:00",
123+
"1970-01-03 21:00",
124+
"1970-01-04 00:00",
125+
"1970-01-04 03:00",
126+
"1970-01-04 06:00",
127+
"1970-01-04 09:00",
128+
"1970-01-04 12:00",
129+
"1970-01-04 15:00",
130+
"1970-01-04 18:00",
131+
"1970-01-04 21:00"
132+
],
133+
"x": [
134+
1, 2, 3, 4, 5, 6, 7, 8,
135+
9, 10, 11, 12, 13, 14, 15, 16,
136+
17, 18, 19, 20, 21, 22, 23, 24,
137+
25, 26, 27, 28, 29, 30, 31, 32
138+
]
139+
},
140+
{
141+
"xaxis": "x4",
142+
"yaxis": "y4",
143+
"type": "scatter",
144+
"mode": "lines+markers",
145+
"orientation": "h",
146+
"y": [
147+
"1970-01-01 00:00",
148+
"1970-01-01 03:00",
149+
"1970-01-01 06:00",
150+
"1970-01-01 09:00",
151+
"1970-01-01 12:00",
152+
"1970-01-01 15:00",
153+
"1970-01-01 18:00",
154+
"1970-01-01 21:00",
155+
"1970-01-02 00:00",
156+
"1970-01-02 03:00",
157+
"1970-01-02 06:00",
158+
"1970-01-02 09:00",
159+
"1970-01-02 12:00",
160+
"1970-01-02 15:00",
161+
"1970-01-02 18:00",
162+
"1970-01-02 21:00",
163+
"1970-01-03 00:00",
164+
"1970-01-03 03:00",
165+
"1970-01-03 06:00",
166+
"1970-01-03 09:00",
167+
"1970-01-03 12:00",
168+
"1970-01-03 15:00",
169+
"1970-01-03 18:00",
170+
"1970-01-03 21:00",
171+
"1970-01-04 00:00",
172+
"1970-01-04 03:00",
173+
"1970-01-04 06:00",
174+
"1970-01-04 09:00",
175+
"1970-01-04 12:00",
176+
"1970-01-04 15:00",
177+
"1970-01-04 18:00",
178+
"1970-01-04 21:00"
179+
],
180+
"x": [
181+
1, 2, 3, 4, 5, 6, 7, 8,
182+
9, 10, 11, 12, 13, 14, 15, 16,
183+
17, 18, 19, 20, 21, 22, 23, 24,
184+
25, 26, 27, 28, 29, 30, 31, 32
185+
]
186+
}
187+
],
188+
"layout": {
189+
"showlegend": false,
190+
"width": 800,
191+
"height": 800,
192+
"xaxis": {
193+
"breaks": [
194+
{
195+
"pattern": "%H",
196+
"bounds": [
197+
18,
198+
6
199+
],
200+
"operation": "[)"
201+
}
202+
],
203+
"domain": [
204+
0,
205+
0.48
206+
]
207+
},
208+
"xaxis2": {
209+
"breaks": [
210+
{
211+
"pattern": "%H",
212+
"bounds": [
213+
18,
214+
6
215+
],
216+
"operation": "[)"
217+
}
218+
],
219+
"autorange": "reversed",
220+
"anchor": "y2",
221+
"domain": [
222+
0.52,
223+
1
224+
]
225+
},
226+
"xaxis3": {
227+
"anchor": "y3",
228+
"domain": [
229+
0,
230+
0.48
231+
]
232+
},
233+
"xaxis4": {
234+
"anchor": "y4",
235+
"domain": [
236+
0.52,
237+
1
238+
]
239+
},
240+
"yaxis": {
241+
"domain": [
242+
0,
243+
0.48
244+
]
245+
},
246+
"yaxis2": {
247+
"anchor": "x2",
248+
"domain": [
249+
0.52,
250+
1
251+
]
252+
},
253+
"yaxis3": {
254+
"breaks": [
255+
{
256+
"pattern": "%H",
257+
"bounds": [
258+
18,
259+
6
260+
],
261+
"operation": "[)"
262+
}
263+
],
264+
"anchor": "x3",
265+
"domain": [
266+
0.52,
267+
1
268+
]
269+
},
270+
"yaxis4": {
271+
"breaks": [
272+
{
273+
"pattern": "%H",
274+
"bounds": [
275+
18,
276+
6
277+
],
278+
"operation": "[)"
279+
}
280+
],
281+
"autorange": "reversed",
282+
"anchor": "x4",
283+
"domain": [
284+
0,
285+
0.48
286+
]
287+
}
288+
}
289+
}

0 commit comments

Comments
 (0)