[IPython-User] matplotlib integration without pylab

Nikolaus Rath Nikolaus@rath....
Sun Mar 11 15:50:26 CDT 2012


Fernando Perez <fperez.net@gmail.com> writes:
> 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).

That works nicely, thanks. Does that leave me with only the matplotlib
adjustment, or are there still other effects from --pylab active as
well?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


More information about the IPython-User mailing list