On Sun, Sep 18, 2011 at 12:41 PM, John Hunter <jdh2...@gmail.com> wrote:
>
> I'm on 11.04, 64 bit also.
>
> What does this give you?
>
>  > ython -c 'import numpy as np; print np.__version__; x =
> np.random.rand(10); np.putmask(x, x<0.5, 0.)'
>
> I only get the version string 2.0.0.dev-aded70c, no warning.

It seems to be python version-dependent, my system python is 2.6 and I
get the warning:

(master)dreamweaver[matplotlib]> python -c 'import numpy as np; print
np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5, 0.)'
2.0.0.dev-aded70c
-c:1: DeprecationWarning: putmask has been deprecated. Use copyto with
'where' as the mask instead

but with 2.7 I don't:

(master)dreamweaver[matplotlib]> python2.7 -c 'import numpy as np;
print np.__version__; x = np.random.rand(10); np.putmask(x, x<0.5,
0.)'
2.0.0.dev-aded70c


Cheers,

f

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to