Skip to content

Commit cb106bf

Browse files
author
Jeff Whitaker
committed
fix bug in previous commit
1 parent 755b790 commit cb106bf

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
@@ -4089,8 +4089,8 @@ def warpimage(self,image="bluemarble",scale=None,**kwargs):
40894089
# make points outside projection limb transparent.
40904090
self._bm_rgba_warped = self._bm_rgba_warped.filled(0.)
40914091
# treat pseudo-cyl projections such as mollweide, robinson and sinusoidal.
4092-
elif self.projection in _pseudocyl:
4093-
if self.projection != 'hammer':
4092+
elif self.projection in _pseudocyl and \
4093+
self.projection != 'hammer':
40944094
lonsr,latsr = self(x,y,inverse=True)
40954095
mask = ma.zeros((ny,nx,4),np.int8)
40964096
lon_0 = self.projparams['lon_0']

0 commit comments

Comments
 (0)