Package: python-matplotlib
Version: 0.87.7-0.1
The simple python session:
>>> import pylab
>>> pylab.plot([3,6,9])
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 2027, in
plot
ret = gca().plot(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 2131, in
plot
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 985, in
autoscale_view
self.set_xlim(XL)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1227, in
set_xlim
self.viewLim.intervalx().set_bounds(xmin, xmax)
TypeError: only length-1 arrays can be converted to Python scalars.
creates an error as was already discussed and a solution (?) proposed at
http://comments.gmane.org/gmane.comp.python.matplotlib.devel/2261
but I have this problem also if I change the numerix variable to numpy,
numarray or Numeric, which should be the temporary solution according to the
link above.
I purged und reinstalled python-matplotlib and python-matplotlib-data (which
has the resource file /etc/matplotlibrc) but nothing helped.
On another machine where python-matplotlib is 0.87.5-2.2 (the previous
version) the example works.
Erwin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]