Hi,
In fixing the recursion bug in the units support, I went through the examples in
units/ and found two broken examples (broken before I fixed the recursion bug):
1) artist_tests.py
Traceback (most recent call last):
File "artist_tests.py", line 30, in <module>
lc = collections.LineCollection(verts, axes=ax)
File
"/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/collections.py",
line
917, in __init__
self.set_segments(segments)
File
"/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/collections.py",
line
927, in set_segments
seg = np.asarray(seg, np.float_)
File "/home/rmay/.local/lib64/python2.5/site-packages/numpy/core/numeric.py",
line 230, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.
2) bar_unit_demo.py
Traceback (most recent call last):
File "bar_unit_demo.py", line 15, in <module>
p1 = ax.bar(ind, menMeans, width, color='r', bottom=0*cm, yerr=menStd)
File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/axes.py",
line
4134, in bar
fmt=None, ecolor=ecolor, capsize=capsize)
File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/axes.py",
line
4678, in errorbar
in cbook.safezip(y,yerr)]
TypeError: unsupported operand type(s) for -: 'int' and 'TaggedValue'
If anyone has any quick ideas on what might have gone wrong (or if these are
just
outdated), let me know. Otherwise, I'll start digging...
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel