Skip to content

remove recommendations of pylab #7

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

Merged
merged 1 commit into from
Apr 6, 2014

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Apr 5, 2014

in favor of %matplotlib, which does the same thing, excluding imports.

  • %pylab is gently discouraged, especially in teaching situations, because hiding namespaces confuses new folks.
  • ipython notebook --pylab is strongly discouraged (and deprecated in IPython 2.0) because its effects are not visible in the notebook, causing great confusion and inconsistent behavior in notebooks depending on how the server was started, with no visible indication about why that may be.

in favor of `%matplotlib`, which does the same thing, excluding imports.

- `%pylab` is gently discouraged, especially in teaching situations,
  because hiding namespaces confuses new folks.
- `ipython notebook --pylab` is strongly discouraged (and deprecated in IPython 2.0)
  because its effects are invisible in the notebook,
  causing great confusion and inconsistent behavior in notebooks
  depending on how the server was started, with no visible indication about why that may be.
@minrk
Copy link
Contributor Author

minrk commented Apr 5, 2014

All of the content I saw used np. and plt., so it already didn't depend on the imports made by %pylab.

@projectgus
Copy link
Contributor

Thank you, this looks great.

projectgus added a commit that referenced this pull request Apr 6, 2014
remove recommendations of pylab
@projectgus projectgus merged commit f604c07 into OpenTechSchool:gh-pages Apr 6, 2014
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

Successfully merging this pull request may close these issues.

2 participants