-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Description
📰 Custom Issue
Lines 46 to 60 in 57096f2
| class _GeoAxesPatched(cartopy.mpl.geoaxes.GeoAxes): | |
| # TODO: see cartopy#2390 | |
| # Remove this once the bug is addressed in a Cartopy release. | |
| def _draw_preprocess(self, renderer): | |
| super()._draw_preprocess(renderer) | |
| for artist in self.artists: | |
| if hasattr(artist, "_draw_gridliner"): | |
| # Note this is only necessary since Cartopy v0.23, but is not | |
| # wasteful for earlier versions as _draw_gridliner() includes | |
| # a check for whether a draw is necessary. | |
| artist._draw_gridliner(renderer=renderer) | |
| cartopy.mpl.geoaxes.GeoAxes = _GeoAxesPatched |
bjlittle
Metadata
Metadata
Assignees
Labels
No labels