Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridges and Tunels example need pylab import #1

Open
bdkauff opened this issue Sep 11, 2013 · 3 comments
Open

Bridges and Tunels example need pylab import #1

bdkauff opened this issue Sep 11, 2013 · 3 comments

Comments

@bdkauff
Copy link
Contributor

bdkauff commented Sep 11, 2013

Most code-blocks/statements referencing an external library (mlab, matplot) in the example notebook wouldn't run without an import of pylab. I created a cell at the top with the following

 from pylab import *

which fixed it. Not sure if anyone else is having this problem...

@hmason
Copy link
Owner

hmason commented Sep 11, 2013

Good to note! This requirement has to be explicit depending on your ipython notebook setup.

@bdkauff
Copy link
Contributor Author

bdkauff commented Sep 11, 2013

Got it. Can it be changed in ipython notebook settings?

Ben

On Tue, Sep 10, 2013 at 10:56 PM, Hilary Mason [email protected]:

Good to note! This requirement has to be explicit depending on your
ipython notebook setup.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-24210101
.

617.407.1006

@bdkauff
Copy link
Contributor Author

bdkauff commented Sep 11, 2013

My fix in fact did nothing! The actual fix is running the .ipynb file with the pylab inline ending as such:

-ipython notebook Lesson0_bridges_and_tunnels --pylab=inline

Sorry for the confusion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants