Skip to content

Commit 316147c

Browse files
committed
Fix MatplotlibDeprecationWarning for axesPatch
1 parent 40ffd21 commit 316147c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,10 +1701,10 @@ def drawmapboundary(self,color='k',linewidth=1.0,fill_color=None,\
17011701
if zorder is not None:
17021702
spine.set_zorder(zorder)
17031703
if self.projection not in ['geos','ortho','nsper']:
1704-
limb = ax.axesPatch
1704+
limb = ax.patch
17051705

17061706
if limb is not None:
1707-
if limb is not ax.axesPatch:
1707+
if limb is not ax.patch:
17081708
ax.add_patch(limb)
17091709
self._mapboundarydrawn = limb
17101710
if fill_color is None:

0 commit comments

Comments
 (0)