[IPython-User] matplotlib integration without pylab

Fernando Perez fperez.net@gmail....
Sun Mar 11 12:53:19 CDT 2012


On Sun, Mar 11, 2012 at 10:43 AM, Nikolaus Rath <Nikolaus@rath.org> wrote:
>
> Is there a way to get --pylab style matplotlib integration (i.e., no
> need for blocking calls to matplotlib.pyplot.show() to display figures)
> without any of the other effects that come with --pylab? In particular,
> I do not want my namespace to be polluted with all the pylab commands.

you can prevent the namespace pollution with:

--InteractiveShellApp.pylab_import_all=False

at startup (or you can set the option permanently in your config file).

Cheers,

f


More information about the IPython-User mailing list