ipython notebook server and pylab mode

56 views
Skip to first unread message

David Kershaw

unread,
Jan 2, 2015, 3:03:24 AM1/2/15
to pyth...@googlegroups.com
I just installed python(x,y) on my windows 7 box and when I run the ipython notebook server I get a message in the command prompt window:

2015-01-02 02:49:00.497 [NotebookApp] WARNING | Starting all kernels in pylab mode is not recommended,
    and will be disabled in a future release.
    Please use the %matplotlib magic to enable matplotlib instead.
    pylab implies many imports, which can have confusing side effects
    and harm the reproducibility of your notebooks.

I have not yet changed any of the command line options or configuration files. They are exactly what Python(x,y)-2.7.9.0.exe installed.
The execute line is:

C:\Python27\Scripts\ipython.exe notebook --pylab=inline

Should I be concerned about this warning or just ignore it?

stone...@gmail.com

unread,
Jan 2, 2015, 3:50:09 AM1/2/15
to pyth...@googlegroups.com
hi David,

Indeed :
- since Ipython 2.0, the recommanded starting option is now --matplotlib=inline,

C:\Python27\Scripts\ipython.exe notebook --matplotlib=inline

- in ipython3.0, --pylab will be rejected

reference:
http://carreau.github.io/posts/10-No-PyLab-Thanks.ipynb.html

Kind regards,

David Kershaw

unread,
Jan 2, 2015, 3:22:19 PM1/2/15
to pyth...@googlegroups.com
Thanks for the info. I'll fix the shortcuts. Who should I bug to fix the python(x,y) installer?

David Kershaw
Reply all
Reply to author
Forward
0 new messages