Hi all, I should point out that for my actual use case, Fernando explained the right thing to do: start ipython *without* pylab, in which case use('Agg') [for example] is legal.
Andrew Andrew Jaffe wrote: > Hi, > > Fernando Perez wrote: >> On Fri, Jun 27, 2008 at 10:52 AM, 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? >>> >>> Best of all would a way to make changes in the middle of a session, but >>> even being able to do it at the beginning without editing matplotlibrc >>> would be great. >> Mid-session you can't swtich *GUI* backends in ipython because the >> entire GUI event loop can only be initialized once. But at startup, >> as of fairly recent versions you can do: >> >> ipython -pylab -Xthread >> >> for X in {g,w,q,q4}. This will force a specific threading/gui backend >> regardless of your mplrc settings. > > Actually, I want to be able to choose a *non*-GUI backend > (speed/commmunication issues). (Or, as I said, just to turn off the GUI > output...) > > Yours, > > Andrew > >> Cheers, >> >> f >> >> ------------------------------------------------------------------------- >> 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 > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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