Skip to content

Commit ef0f836

Browse files
authored
Merge pull request #373 from nbambruz/fixaxespatch
Fix MatplotlibDeprecationWarning for axesPatch in Matplotlib 2.1.0
2 parents 40ffd21 + 2de74f6 commit ef0f836

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)