|
From: Jorge S. <jor...@ya...> - 2011-06-10 14:25:23
|
Hi, Are events supposed to be used in non-interactive mode? I've been having some weird issues recently (see http://thread.gmane.org/gmane.comp.python.matplotlib.general/26233/focus=26267) 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. jorges |