[IPython-User] IPy Notebook: Continue plotting in the same figure from another cell
Matthias BUSSONNIER
bussonniermatthias@gmail....
Thu Jan 10 07:40:33 CST 2013
Le 10 janv. 2013 à 14:16, Norfeldt a écrit :
> Thank you both for your helpful answer :)
>
> I was using the IPy inline (such neat and useful feature)
>
> Matthias:
> The autoclose must do more than just closing the figure - it must do fig.clf()
> The OO way is useful and reminds me that I always forget that it is the axes that contain the plot goodies and not the figure.
> (to me it would be more obvious to call figure -> window and axes -> plot - but that's just my world)
>
> I will try to disable the autoclose next time..
>
> Chao:
> I like your way of doing it - but then I would need to know the magic command for plotting inline
I don't remember since when, but you can toggle between inline backend with
%pylab [gui]
%pylab inline
--
Matthias
More information about the IPython-User
mailing list