Quiver plot of masked array

Hi mpl users,

I get some strange results when I make a quiver plot of a masked
array. This script:

from numpy.ma import zeros, masked_values
from pylab import quiver, savefig
a = masked_values(zeros((5,5)), 0)
quiver(a,a)
savefig('test.png')

gives me a plot which has 25 horizontal arrows (although they look
strange). It should give me a plot without any arrows. Is this a bug
in matplotlib (I am using 0.98.3)?

Best regards,
Jesper

Jesper Larsen wrote:

Hi mpl users,

I get some strange results when I make a quiver plot of a masked
array. This script:

from numpy.ma import zeros, masked_values
from pylab import quiver, savefig
a = masked_values(zeros((5,5)), 0)
quiver(a,a)
savefig('test.png')

gives me a plot which has 25 horizontal arrows (although they look
strange). It should give me a plot without any arrows. Is this a bug
in matplotlib (I am using 0.98.3)?

Yes, it was fixed in svn.

Eric