[Numpy-discussion] Replacing colours in numpy array 2

Frank Peacock frank@gis4weather....
Fri Apr 10 17:02:45 CDT 2009



Apologies for the incorrect posting before.


The problem was that I was not using an array for the true condition and
instead was using a scalar.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090410/d886c811/attachment.html 

More information about the Numpy-discussion mailing list