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

remove (almost) all mentions of pylab from our examples #5066

Merged
merged 8 commits into from Feb 9, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Feb 8, 2014

I did a quick scan through our examples, and removed any mention of pylab I could find and reasonably remove.

try:
import IPython.core.shellapp as mod;
for k in mod.InteractiveShellApp.pylab.values:
for k in mod.InteractiveShellApp.matplotlib.values:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see you change the name of any InteractiveShell attributes. Does this line assume that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was done a while ago. Nothing to change in the actual code, just the examples.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks for clarifying.

@ellisonbg
Copy link
Member

Do we also want to rename our module and functions internally: pylabtool, kernel/zmq/pylab, etc?

Not nearly as big of a deal as it doesn't affect users.

@minrk
Copy link
Member Author

minrk commented Feb 9, 2014

Not nearly as big of a deal as it doesn't affect users.

I suspect some folks reach into pylabtools for print_figure and/or figsize, so we would need to be careful about those.

@ellisonbg
Copy link
Member

I think this looks good, merging.

ellisonbg added a commit that referenced this pull request Feb 9, 2014
remove (almost) all mentions of pylab from our examples
@ellisonbg ellisonbg merged commit 6bd4d1a into ipython:master Feb 9, 2014
keflavich added a commit to keflavich/runipy that referenced this pull request Feb 19, 2014
The ipython devs discourage the use of pylab now (ipython/ipython#5066)
@minrk minrk deleted the pylab-examples branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
remove (almost) all mentions of pylab from our examples
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.

None yet

2 participants