You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoAxes.get_extent() and Gridliner._axes_domain() report incorrect longitude bounds when they span the international dateline. The most noticeable effect is that LongitudeLocator generates too few longitude gridlines, but I imagine this has other implications as well.
Code to reproduce
Here is an example for a rectangular projection centered on the international dateline (this fails for all rectangular and pseudo-rectangular projections). The LongitudeLocator thinks the map extent is from -180 to 180 rather than 170 to 190, and therefore draws too few longitude gridlines.
Description
GeoAxes.get_extent()
andGridliner._axes_domain()
report incorrect longitude bounds when they span the international dateline. The most noticeable effect is thatLongitudeLocator
generates too few longitude gridlines, but I imagine this has other implications as well.Code to reproduce
Here is an example for a rectangular projection centered on the international dateline (this fails for all rectangular and pseudo-rectangular projections). The
LongitudeLocator
thinks the map extent is from -180 to 180 rather than 170 to 190, and therefore draws too few longitude gridlines.Output:
By comparison, this is what it looks like when we "zoom in" anywhere that isn't the dateline:
Output:
Full environment definition
Operating system
Cartopy version
0.18
conda list
pip list
The text was updated successfully, but these errors were encountered: