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
So according to https://scitools.org.uk/cartopy/docs/v0.13/matplotlib/gridliner.html you can customize whether the right/left or top/bottom borders of the plot have tick labels on them by using gl.xlabels_top = False. But this gives no effect with SouthPolarStereo - it does work with Mercator.
This is currently being worked on and discussed in the PR #1537. Also see #1530 for a similar request/discussion and feel free to weigh in with your thoughts on implementation details there as well.
A quick fix that I've used in the past is to add multiple gridliners to the axes and customize them with different lat/lon ranges and label visibilities, but it is a much more manual process of defining exactly the desired result, so not optimal.
Description
So according to https://scitools.org.uk/cartopy/docs/v0.13/matplotlib/gridliner.html you can customize whether the right/left or top/bottom borders of the plot have tick labels on them by using
gl.xlabels_top = False
. But this gives no effect with SouthPolarStereo - it does work with Mercator.Code to reproduce
E.g. below, I don't want the longitude labels on the right border.

Cartopy version
0.18, with Python 3.6.7.
The text was updated successfully, but these errors were encountered: