-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add failing test - wrong mapping on reversed ranges
- Loading branch information
Showing
2 changed files
with
237 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
237 changes: 237 additions & 0 deletions
237
test/image/mocks/axes_breaks-reversed-without-pattern.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,237 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "scatter", | ||
"mode": "markers+lines", | ||
"x": [ | ||
"1970-01-01 00:00:00.000", | ||
"1970-01-01 00:00:00.010", | ||
"1970-01-01 00:00:00.020", | ||
"1970-01-01 00:00:00.030", | ||
"1970-01-01 00:00:00.040", | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.060", | ||
"1970-01-01 00:00:00.070", | ||
"1970-01-01 00:00:00.080", | ||
"1970-01-01 00:00:00.090", | ||
"1970-01-01 00:00:00.100", | ||
"1970-01-01 00:00:00.110", | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.130", | ||
"1970-01-01 00:00:00.140", | ||
"1970-01-01 00:00:00.150", | ||
"1970-01-01 00:00:00.160", | ||
"1970-01-01 00:00:00.170", | ||
"1970-01-01 00:00:00.180", | ||
"1970-01-01 00:00:00.190", | ||
"1970-01-01 00:00:00.200" | ||
] | ||
}, | ||
{ | ||
"xaxis": "x2", | ||
"yaxis": "y2", | ||
"type": "scatter", | ||
"mode": "markers+lines", | ||
"x": [ | ||
"1970-01-01 00:00:00.000", | ||
"1970-01-01 00:00:00.010", | ||
"1970-01-01 00:00:00.020", | ||
"1970-01-01 00:00:00.030", | ||
"1970-01-01 00:00:00.040", | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.060", | ||
"1970-01-01 00:00:00.070", | ||
"1970-01-01 00:00:00.080", | ||
"1970-01-01 00:00:00.090", | ||
"1970-01-01 00:00:00.100", | ||
"1970-01-01 00:00:00.110", | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.130", | ||
"1970-01-01 00:00:00.140", | ||
"1970-01-01 00:00:00.150", | ||
"1970-01-01 00:00:00.160", | ||
"1970-01-01 00:00:00.170", | ||
"1970-01-01 00:00:00.180", | ||
"1970-01-01 00:00:00.190", | ||
"1970-01-01 00:00:00.200" | ||
] | ||
}, | ||
{ | ||
"xaxis": "x3", | ||
"yaxis": "y3", | ||
"type": "scatter", | ||
"mode": "markers+lines", | ||
"orientation": "h", | ||
"y": [ | ||
"1970-01-01 00:00:00.000", | ||
"1970-01-01 00:00:00.010", | ||
"1970-01-01 00:00:00.020", | ||
"1970-01-01 00:00:00.030", | ||
"1970-01-01 00:00:00.040", | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.060", | ||
"1970-01-01 00:00:00.070", | ||
"1970-01-01 00:00:00.080", | ||
"1970-01-01 00:00:00.090", | ||
"1970-01-01 00:00:00.100", | ||
"1970-01-01 00:00:00.110", | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.130", | ||
"1970-01-01 00:00:00.140", | ||
"1970-01-01 00:00:00.150", | ||
"1970-01-01 00:00:00.160", | ||
"1970-01-01 00:00:00.170", | ||
"1970-01-01 00:00:00.180", | ||
"1970-01-01 00:00:00.190", | ||
"1970-01-01 00:00:00.200" | ||
] | ||
}, | ||
{ | ||
"xaxis": "x4", | ||
"yaxis": "y4", | ||
"type": "scatter", | ||
"mode": "markers+lines", | ||
"orientation": "h", | ||
"y": [ | ||
"1970-01-01 00:00:00.000", | ||
"1970-01-01 00:00:00.010", | ||
"1970-01-01 00:00:00.020", | ||
"1970-01-01 00:00:00.030", | ||
"1970-01-01 00:00:00.040", | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.060", | ||
"1970-01-01 00:00:00.070", | ||
"1970-01-01 00:00:00.080", | ||
"1970-01-01 00:00:00.090", | ||
"1970-01-01 00:00:00.100", | ||
"1970-01-01 00:00:00.110", | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.130", | ||
"1970-01-01 00:00:00.140", | ||
"1970-01-01 00:00:00.150", | ||
"1970-01-01 00:00:00.160", | ||
"1970-01-01 00:00:00.170", | ||
"1970-01-01 00:00:00.180", | ||
"1970-01-01 00:00:00.190", | ||
"1970-01-01 00:00:00.200" | ||
] | ||
} | ||
], | ||
"layout": { | ||
"showlegend": false, | ||
"width": 800, | ||
"height": 800, | ||
"xaxis": { | ||
"rangebreaks": [ | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.075" | ||
] | ||
}, | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.180" | ||
] | ||
} | ||
], | ||
"domain": [ | ||
0, | ||
0.48 | ||
] | ||
}, | ||
"xaxis2": { | ||
"rangebreaks": [ | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.075" | ||
] | ||
}, | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.180" | ||
] | ||
} | ||
], | ||
"autorange": "reversed", | ||
"anchor": "y2", | ||
"domain": [ | ||
0.52, | ||
1 | ||
] | ||
}, | ||
"xaxis3": { | ||
"anchor": "y3", | ||
"domain": [ | ||
0, | ||
0.48 | ||
] | ||
}, | ||
"xaxis4": { | ||
"anchor": "y4", | ||
"domain": [ | ||
0.52, | ||
1 | ||
] | ||
}, | ||
"yaxis": { | ||
"domain": [ | ||
0, | ||
0.48 | ||
] | ||
}, | ||
"yaxis2": { | ||
"anchor": "x2", | ||
"domain": [ | ||
0.52, | ||
1 | ||
] | ||
}, | ||
"yaxis3": { | ||
"rangebreaks": [ | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.075" | ||
] | ||
}, | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.180" | ||
] | ||
} | ||
], | ||
"anchor": "x3", | ||
"domain": [ | ||
0.52, | ||
1 | ||
] | ||
}, | ||
"yaxis4": { | ||
"rangebreaks": [ | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.050", | ||
"1970-01-01 00:00:00.075" | ||
] | ||
}, | ||
{ | ||
"bounds": [ | ||
"1970-01-01 00:00:00.120", | ||
"1970-01-01 00:00:00.180" | ||
] | ||
} | ||
], | ||
"autorange": "reversed", | ||
"anchor": "x4", | ||
"domain": [ | ||
0, | ||
0.48 | ||
] | ||
} | ||
} | ||
} |