On Fri, Jun 10, 2011 at 9:24 AM, Jorge Scandaliaris
<jorgesmbox...@yahoo.es>wrote:

> 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
>
>
Jorges,

iPython can do some special things with matplotlib's interactivity when
invoked in certain ways (hence why it was called "interactive" python).  I
don't know the particulars of what ipython does, but this does not surprise
me.  Does everything work as you expect in interactive mode through regular
python?

Ben Root
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to