Skip to content

Commit

Permalink
Merge pull request #2405 from greglucas/rm-unneeded-path
Browse files Browse the repository at this point in the history
MNT: Remove unneeded matplotlib inheritance
  • Loading branch information
rcomer authored Jun 23, 2024
2 parents 0c394ea + 1e96a91 commit f11eb85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/cartopy/mpl/geoaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f11eb85

Please sign in to comment.