On Sun, Sep 18, 2011 at 2:02 PM, Eric Firing <efir...@hawaii.edu> wrote: > There is a way to deal with this now: define our own copyto which uses > np.copyto if it exists, and falls back on putnav otherwise. I think > this can be done with reasonable safety and no loss of performance. The > only question is where to put our copyto. I think a new compat.py would > make sense as a home for this sort of version compatibility interface > code. We may need a lot more in the future as numpy evolves.
If you want to just silence this particular warning, it can be done with this code: import warnings warnings.filterwarnings('ignore', 'putmask has been deprecated', DeprecationWarning) That would be enough to keep numpy quiet about this for now... Cheers, f ------------------------------------------------------------------------------ BlackBerry® 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