Hi,
While the savefig() command works fine, I am unable to get anything to appear when I use show(). Instead, the program hangs (until I hit ctrl-C to exit).
Here is the verbose output of a simple script, jnk.py:
from pylab import *
plot([1,2,3])
show()
When run from Cygwin, I get the following (below). Similar output is produced when I try other backends. Any advice?
Thanks,
James
$ python jnk.py --verbose-helpful
matplotlib data path c:\python23\share\matplotlib
$HOME=C:\cygwin\home\James
CONFIGDIR=C:\cygwin\home\James\.matplotlib
loaded rc file c:\python23\share\matplotlib\matplotlibrc
matplotlib version 0.83.2
verbose.level helpful
interactive is False
platform is win32
numerix Numeric 23.3
font search path ['c:\\python23\\share\\matplotlib']
loaded ttfcache file C:\cygwin\home\James\.matplotlib\ttffont.cache
font search path ['c:\\python23\\share\\matplotlib']
loaded ttfcache file C:\cygwin\home\James\.matplotlib\ttffont.cache
backend TkAgg version 8.4
Traceback (most recent call last):
File "jnk.py", line 6, in ?
show()
File "C:\PYTHON23\Lib\site-packages\matplotlib\backends\backend_tkagg.py", lin
e 75, in show
Tk.mainloop()
File "C:\PYTHON23\lib\lib-tk\Tkinter.py", line 284, in mainloop
_default_root.tk.mainloop(n)
KeyboardInterrupt