When performing interactive plotting from a script (i.e.
matplotlib.interactive(True) followed by my plotting code, no show() calls
involved but sometimes draw()) I am getting plot windows that initially show
a plot, but upon attempts at interaction hang and go blank. Unfortunately, I
cannot reproduce this with simple examples yet, only from an application
that I have been using for the past year starting with matplotlib 0.98, then
0.99.3, and now 1.0.0.
I am on 64-bit Windows 7 using 64-bit Python 2.7 and many 64-bit packages,
including matplotlib, from http://www.lfd.uci.edu/~gohlke/pythonlibs/ Chris
Gohlke's excellent site . I encounter these hanging, interactive windows in
the following Python environments
o 64-bit Python 2.6.5 with matplotlib 1.0.0 64-bit installer from source
o 64-bit Python 2.7 with matplotlib 1.0.0 64-bit installer from Chris'
periodic svn builds. This is my main environment.
In both environments, the problem exists with the TkAgg and WxAgg backends,
and it happens whether I use the basic Python shell, or the IPython 0.10 and
The solution for me is to use the Qt4Agg backend. Everything works as
expected using this backend. I cannot find any obvious issues in my code.
Again, this application has been working with previous versions of
matplotlib using the default TkAgg backend, on 32-bit Windows XP and 64-bit
Windows 7 for a while now. Has anyone else experienced similar issues? There
related thread here which seems to have been dealt with by reverting to
http://www.roguewave.com//" Rogue Wave Software
jhemann at vni dizzot com
View this message in context: http://old.nabble.com/Interactive-plotting-hangs-with-certain-backends-on-64-bit-Windows-7-tp29822071p29822071.html
Sent from the matplotlib - users mailing list archive at Nabble.com.