quiver fails for non-square arrays
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 9.04
Release: 9.04
python-matplotlib:
Installed: 0.98.5.2-1ubuntu3
Candidate: 0.98.5.2-1ubuntu3
Version table:
*** 0.98.5.2-1ubuntu3 0
500 http://
100 /var/lib/
quiver plots fail when the 2D array is non-square and no 2D x,y arrays are specified. This bug looks pretty much like Bug #134919.
Looks like some confusion on row/column major notation :-(
import numpy
import pylab
x=numpy.
y=numpy.
a=numpy.
a[0,:2] = 1
a[1,:2] = 3
# fails
#pylab.quiver(a,a)
#pylab.show()
# fails
#pylab.
#pylab.show()
# works
xx,yy = numpy.meshgrid(x,y)
pylab.quiver(
pylab.show()
With version 0.98.5.3-1ubuntu1 I can confirm that this command fails: y,x,a,a)
pylab.quiver(