masked array problem

I am having a problem when using masked arrays. The
attached scripts are identical except for the data. One will actually produce
a plot, whereas the other will not. I cannot figure out what I am doing wrong,
such that the second script fails. Am I doing something wrong with this, or is
this an actual bug?

Thanks,

–James Evans

masked_array-fail.py (20.2 KB)

masked_array-good.py (23.9 KB)

I am having a problem when using masked arrays. The attached scripts
are identical except for the data. One will actually produce a plot,
whereas the other will not. I cannot figure out what I am doing wrong,
such that the second script fails. Am I doing something wrong with this,
or is this an actual bug?

Maybe a bug that was fixed in mpl, or in a newer version of numpy than you are using. Using both mpl and numpy from svn, both scripts work for me.

Eric

···

On 06/07/2010 10:41 AM, James Evans wrote:

Thanks,

--James Evans