On Fri, Jun 27, 2008 at 12:52 PM, Andrew Jaffe <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> All the usual apologies if this is a FAQ, but I can't find it.
>
> Is there any way to change the backend interactively when using ipython?

Take a look at the pylab/pyplot switch_backends function


switch_backend(newbackend)
    Switch the default backend to newbackend.  This feature is
    **experimental**, and is only expected to work switching to an
    image backend.  Eg, if you have a bunch of PostScript scripts that
    you want to run from an interactive ipython session, you may want
    to switch to the PS backend before running them to avoid having a
    bunch of GUI windows popup.  If you try to interactively switch
    from one GUI backend to another, you will explode.

    Calling this command will close all open windows.

Eg:

>>> switch_backends('Agg')

JDH

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to