Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion lib/cartopy/mpl/gridliner.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,15 @@ def update_artist(artist, renderer):
this_path = update_artist(artist, renderer)

# Is this kind label allowed to be drawn?
if not self._draw_this_label(xylabel, loc):
# For "geo" labels, also check against the
# angle-derived side so that e.g.
# right_labels=False is respected on curved
# projections where labels cannot be classified
# via spine geometry.
if not self._draw_this_label(xylabel, loc) or (
loc == 'geo'
and getattr(self, self._get_loc_from_angle(
segment_angle) + '_labels') is False):
visible = False

elif x_inline or y_inline:
Expand Down
Loading