-
-
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.
Merge pull request #4699 from plotly/rangebreak-hover
Fixup rangebreaks l2p and p2l functions
- Loading branch information
Showing
8 changed files
with
412 additions
and
50 deletions.
There are no files selected for viewing
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
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
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
Binary file modified
BIN
-3.85 KB
(95%)
test/image/baselines/axes_breaks-night_autorange-reversed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.