[Numpy-discussion] maskedarray bug?
Mon Jan 21 14:35:37 CST 2008
On Sunday 20 January 2008 16:32:40 you wrote:
> The attached script shows how one can make a masked array with different
> dimensions for the mask than for the data. I presume this is a bug. It
> is triggered by the present code in the matplotlib quiver function.
Yep, bug indeed. Thanks for pointing that out !
The following patch should take care of the problem. (In short, a getmask
function was used instead of getmaskarray).
Note that the patch takes also into account elements I had sent to Stefan 2
weeks ago, that were not ported yet to the SVN: I still can't commit to the
Let me know how it works, and thanks again for your time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16498 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080121/7bd35df4/attachment.bin
More information about the Numpy-discussion