[IPython-dev] Announcement: Set of IPython Notebooks to learn Python for Exploratory Computing

Fernando Perez fperez.net at gmail.com
Thu Jul 31 19:02:46 EDT 2014


On Thu, Jul 31, 2014 at 12:44 PM, Mark Bakker <markbak at gmail.com> wrote:

> Yeah, good point about the %matplotlib inline. That is much better. The
> thing is that I am using Canopy in class and when you start an IPython
> Notebook in Canopy I think it starts by default in what used to be pylab
> mode. I wonder what it does now, as the --pylab flag is gone. Should try
> that, as this was the behavior in the class last year.


Just ignore that: if you add the explicit %matplotlib call and the manual
imports, the code will still work in canopy, and it will *also* work for
anyone who starts without the global --pylab flag.

So just do the 'new right thing' manually with %matplotlib, and it will
work fine transparently.

Cheers,

f


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140731/2dede5e4/attachment.html>


More information about the IPython-dev mailing list