Skip to content

Commit 3d52b84

Browse files
committed
Fix typos
1 parent 24258ad commit 3d52b84

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
@@ -3901,11 +3901,11 @@ def drawlsmask(self,land_color="0.8",ocean_color="w",lsmask=None,
39013901
# look for axes instance (as keyword, an instance variable
39023902
# or from plt.gca().
39033903
ax = kwargs.pop('ax', None) or self._check_ax()
3904-
# Clear saved lsmask is new lsmask is passed
3904+
# Clear saved lsmask if new lsmask is passed
39053905
if lsmask is not None or lsmask_lons is not None \
39063906
or lsmask_lats is not None:
39073907
# Make sure passed lsmask is not the same as cached mask
3908-
if lsmask != self.lsmask:
3908+
if lsmask is not self.lsmask:
39093909
self.lsmask = None
39103910
# if lsmask,lsmask_lons,lsmask_lats keywords not given,
39113911
# read default land-sea mask in from file.

0 commit comments

Comments
 (0)