Re: [matplotlib-devel] [Patch] NonUniformImage uses np.asarray; should use ma.asarray

2008-07-21 Thread Eric Firing
Klaus Zimmermann wrote: > Eric Firing schrieb: >> John Hunter wrote: >>> On Mon, Jul 21, 2008 at 3:12 AM, Klaus Zimmermann >>> <[EMAIL PROTECTED]> wrote: Hello *, right now the NonUniformImage class in image.py uses numpy's asarray method. All similar classes instead use numpy.m

Re: [matplotlib-devel] [Patch] NonUniformImage uses np.asarray; should use ma.asarray

2008-07-21 Thread Klaus Zimmermann
Eric Firing schrieb: John Hunter wrote: On Mon, Jul 21, 2008 at 3:12 AM, Klaus Zimmermann <[EMAIL PROTECTED]> wrote: Hello *, right now the NonUniformImage class in image.py uses numpy's asarray method. All similar classes instead use numpy.ma.asarray, thus allowing for masked images. [...] M

Re: [matplotlib-devel] [Patch] NonUniformImage uses np.asarray; should use ma.asarray

2008-07-21 Thread Eric Firing
John Hunter wrote: > On Mon, Jul 21, 2008 at 3:12 AM, Klaus Zimmermann > <[EMAIL PROTECTED]> wrote: >> Hello *, >> >> right now the NonUniformImage class in image.py uses numpy's asarray >> method. All similar classes instead use numpy.ma.asarray, thus allowing >> for masked images. >> I think this

Re: [matplotlib-devel] [Patch] NonUniformImage uses np.asarray; should use ma.asarray

2008-07-21 Thread John Hunter
On Mon, Jul 21, 2008 at 3:12 AM, Klaus Zimmermann <[EMAIL PROTECTED]> wrote: > Hello *, > > right now the NonUniformImage class in image.py uses numpy's asarray > method. All similar classes instead use numpy.ma.asarray, thus allowing > for masked images. > I think this should be changed as in the

[matplotlib-devel] [Patch] NonUniformImage uses np.asarray; should use ma.asarray

2008-07-21 Thread Klaus Zimmermann
Hello *, right now the NonUniformImage class in image.py uses numpy's asarray method. All similar classes instead use numpy.ma.asarray, thus allowing for masked images. I think this should be changed as in the attached patch. Otherwise thanks for matplotlib :) Klaus Index: matplotlib/lib/matplotl