Commit efdf987
committed
Assume pixel distance=0 if nan
The function _get_pixel_distance_along_axis does not work for geographic
axes, in which pixels that are outside of the map area cannot be
meaningfully transformed back to data coordinates. If the return value
was nan, set to 0.1 parent 3165537 commit efdf987
5 files changed
Lines changed: 1866 additions & 0 deletions
File tree
- lib/matplotlib
- tests
- baseline_images/test_axes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
1011 | 1013 | | |
1012 | 1014 | | |
1013 | 1015 | | |
1014 | 1016 | | |
1015 | 1017 | | |
| 1018 | + | |
| 1019 | + | |
1016 | 1020 | | |
1017 | 1021 | | |
1018 | 1022 | | |
| |||
Binary file not shown.
0 commit comments