We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cafe0b commit c87717fCopy full SHA for c87717f
lib/matplotlib/lines.py
@@ -276,7 +276,7 @@ def set_data(self, *args):
276
mx = ma.getmask(x)
277
my = ma.getmask(y)
278
mask = ma.mask_or(mx, my)
279
- if mask is not None:
+ if mask is not ma.nomask:
280
x = ma.masked_array(x, mask=mask).compressed()
281
y = ma.masked_array(y, mask=mask).compressed()
282
self._segments = unmasked_index_ranges(mask)
lib/matplotlib/numerix/ma/__init__.py
@@ -2,8 +2,10 @@
2
3
if which[0] == "numarray":
4
from numarray.ma import *
5
+ nomask = None
6
elif which[0] == "numeric":
7
from MA import *
8
9
elif which[0] == "numpy":
10
from numpy.core.ma import *
11
else:
0 commit comments