Interactive plotting hangs with certain backends on 64-bit Windows 7

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 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
0.11 shells.

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
is a
related thread here which seems to have been dealt with by reverting to



Josh Hemann
Statistical Advisor" Rogue Wave Software
jhemann at vni dizzot com

View this message in context:
Sent from the matplotlib - users mailing list archive at