George Nurser wrote: > I think there may be two bugs in quiver. Actually just 1...
> > 1. Quiver doesn't seem to accept 1D arrays X and Y if they are > different sizes -- they need to be turned into 2d arrays with meshgrid > for the program to work. With line 13 uncommented I get the following > error message: This is a bug. It is fixed now in svn trunk and 98.5 maintenance branch. > > 2. Masking is not working properly with quiver, while it works fine > with contour -- see the attached quivtest.png This is a numpy.ma bug that has been fixed in numpy. I don't know exactly when it was fixed, but after I tracked it down to numpy.ma, I updated my copy of numpy from svn, and the problem went away. Somehow, when a multiplication was done with broadcasting, the mask was getting handled and propagated incorrectly. I suspect this bug was present only for a moderate interval of time, because quiver with masked points worked for a long time before you ran into the bug. Eric ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users