Hi, I have a problem. The following script crashes:
from pylab import *
a=arange(1500).reshape(50,30)
figure()
figimage(a)
show()
Python says:
Traceback (most recent call last):
File "crash.py", line 5, in ?
figimage(a)
File "c:\Python24\lib\site-packages\matplotlib\pylab.py", line 810, in
figimage
draw_if_interactive()
File
"c:\Python24\lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 59, in draw_if_interactive
figManager.show()
File
"c:\Python24\lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 301, in show
self.canvas.draw()
File
"c:\Python24\lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 151, in draw
FigureCanvasAgg.draw(self)
File
"c:\Python24\lib\site-packages\matplotlib\backends\backend_agg.py", line
398, in draw
self.figure.draw(renderer)
File "c:\Python24\lib\site-packages\matplotlib\figure.py", line 515,
in draw
im.draw(renderer)
File "c:\Python24\lib\site-packages\matplotlib\image.py", line 473, in
draw
renderer.draw_image(self.ox, self.oy, im, self.origin, self.figure.bbox)
IndexError: Unexpected SeqBase<T> length.
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
As you can see, I'm using Python 2.4. Matplotlib is from the Enthought
Python Edition,
version number is 0.87.2. I tried Google, but looking for "Unexpected
SeqBase matplotlib" did not help me.
Any hints ?
Greetings, Uwe
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users