I am sure this is a well know issue, so please feel free to just give a
link if the answer and solution are long. I have a newly installed
matplotlib installations running on Windows XP using Python 2.5.4. When
I execute a simple 4 line example (copied directly from the PyPlot
tutorial) in either PythonWin or IDLE, , it works fine and I terminate
by right clicking on the generated figure and doing a Close. However,
when I rerun the code from the IDE (makes no difference if I use
PythonWin or IDLE) the figure hangs and eventually I get an abnormal
exit and crash out of the IDE (in PythonWin there is a dialogue box that
says “Runtime Error” in pythonwin.exe. This makes debugging in an IDE
very clumsy, because I need to exit and restart it every time I run
python code.
The test code is simply:
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.ylabel('Some Numbers')
plt.show()
Thanks in advance,
David Lees
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users