I obtain an error message when I tried to use the quiver
> sample: Traceback (most recent call last): File
> "quiver_demo.py", line 8, in ? quiver( X, Y, U, V, 0.2,
> color=True ) File
> "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py",
> line 2105, in quiver ret = gca().quiver(*args, **kwargs)
> File
> "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py",
> line 894, in quiver if C: File
> "/usr/local/lib/python2.4/site-packages/numarray/generic.py",
> line 490, in __nonzero__ raise RuntimeError("An array
> doesn't make sense as a truth value. Use any(a) or
> all(a).") RuntimeError: An array doesn't make sense as a
> truth value. Use any(a) or all(a).
Thanks for the report. Replace line 894 in axes.py
OLD:
if C:
NEW
if C is not None:
JDH