[IPython-User] show matplotlib plot at background?

Thomas Kluyver takowl@gmail....
Fri Mar 30 06:27:09 CDT 2012


On 30 March 2012 09:47, Chao YUE <chaoyuejoy@gmail.com> wrote:
> I use matplotlib within ipython interactive session. each time I use
> plt.show() to show a plot,
> it will stay in current session and I have to close it to continue. Can I
> show the plot at background?
> something like

If I understand you right, you want pylab mode, where you can keep
typing commands into IPython with a plot open. Start it with "ipython
--pylab", or use the %pylab magic function inside IPython.

Thomas


More information about the IPython-User mailing list