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
The xlabels in the PlateCarree (and potentially other projections) don't respect the central_longitude. In the example code below, the central longitude is correctly set to 160E. The xlabel at that longitude, however, is 0.
I've seen the same issue in #204, but there is was first reported fixed and then a patch was proposed. That does not seem to be included in version 0.16.0?
You should not pass crs=proj when calling ax.gridlines, because in that projection, 0 is at 160E. So in fact, it is respecting the central longitude and placing 0 where you tell it to place it. If you pass nothing, you get a 0 tick in the expected location.
Description
The xlabels in the PlateCarree (and potentially other projections) don't respect the central_longitude. In the example code below, the central longitude is correctly set to 160E. The xlabel at that longitude, however, is 0.
I've seen the same issue in #204, but there is was first reported fixed and then a patch was proposed. That does not seem to be included in version 0.16.0?
Code to reproduce
Full environment definition
Operating system
macOS with Python 2.7.15
Cartopy version
0.16.0
conda list
pip list
The text was updated successfully, but these errors were encountered: