From 1e96a91943709dac30d2e61fb8b026dc93368317 Mon Sep 17 00:00:00 2001 From: Greg Lucas Date: Sun, 23 Jun 2024 06:52:20 -0600 Subject: [PATCH] MNT: Remove unneeded matplotlib inheritance --- lib/cartopy/mpl/geoaxes.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/cartopy/mpl/geoaxes.py b/lib/cartopy/mpl/geoaxes.py index b3a822367..1509a2b27 100644 --- a/lib/cartopy/mpl/geoaxes.py +++ b/lib/cartopy/mpl/geoaxes.py @@ -233,10 +233,6 @@ def set_boundary(self, path, transform): self.set_transform(transform) self.stale = True - # Can remove and use matplotlib's once we support only >= 3.2 - def set_path(self, path): - self._path = path - def _adjust_location(self): if self.stale: self.set_path(self._original_path.clip_to_bbox(self.axes.viewLim))