[IPython-dev] mixing pylab=inline and external windows

Matthias BUSSONNIER bussonniermatthias at gmail.com
Sat Aug 25 08:58:19 EDT 2012

Le 25 août 2012 à 14:35, Satrajit Ghosh a écrit :

> hi folks,
> is there a way to have a notebook change how the matplotlib figures are rendered from different cells?

in last dev you should be able to toggle between floating figure `%pylab [backend]` and inline `%pylab inline`.

You can only chose one [backend] and stick with it after or restart the kernel. 

you can also stay in floating figure and do 
from IPython.display import display
display(gcf()) #get current figure

Does this answer your question ? 

More information about the IPython-dev mailing list