Are events supposed to be used in non-interactive mode? I've been having some
weird issues recently (see
which, just by chance, I pinned down to having matplotlib.interactive(True) in
my custom ipython's pylab profile. What's the relationship between both things?
I couldn't find much about interactive mode in the docs.
Maybe this does not add useful info to the problem, but I have also noticed a
difference in behavior when running scripts with events handling and interactive
mode on from ipython compared to python. The figure(s) stay displayed when using
ipython, although custom events don't work (predefined events like pan/zoom
still work), while in python the figures are closed once the script finishes.
At least I have a way now to run my scripts from within ipython, even if I don't
understand what's going on.