PDA

View Full Version : Matplotlib crashing IDLE ??



elbarto_87
October 30th, 2008, 06:58 AM
Hi,
Has anyone had any problems useing matplotlib in IDLE (ubuntu 8.04)? I try to do something like this:


from pylab import *
x = [1, 2, 3]
y = [2, 4, 7]
plot(x,y)

I dont even get time to close the brackets or even execute the comand and IDLE just crashes. I tried running the same script through terminal in a python shell and it works fine.

Any ideas??

Thanks
Elbarto

sheto
October 30th, 2008, 01:00 PM
I think this is IDLE's stupidity and not yours. I tried in a multitude of other editors and shells and it worked fine.

If you would like a better Python experience, try Stani's Python Editor(SPE) or DrPython.

elbarto_87
October 30th, 2008, 02:05 PM
Thanks Sheto, I will look into those.

I just installed everything in windows XP and the same command ran fine in IDLE under windows. I might just have to put this one down as a mystery.


Elbarto