Skip to content

Remove pylab references #11476

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
Jun 22, 2018
Merged

Conversation

timhoffm
Copy link
Member

PR Summary

This PR fixes the remaining easy cases. There are still some references in the API/docs, but they are harder to decide what to do. I think this can go in as is as an improvement.

Copy link
Member

@NelleV NelleV left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks!

@NelleV NelleV merged commit f3e03d2 into matplotlib:master Jun 22, 2018
from pylab import *
plot([1,2,3])
import matplotlib.pyplot as plt
plt.plot([1,2,3])
show()
Copy link
Member

Choose a reason for hiding this comment

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

This should be plt.show()

Copy link
Member Author

Choose a reason for hiding this comment

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

Handled in #11481

@@ -1332,18 +1332,13 @@ class MultiCursor(Widget):
Example usage::

from matplotlib.widgets import MultiCursor
from pylab import figure, show, np
Copy link
Member

Choose a reason for hiding this comment

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

The bare show below needs to be updated.

Copy link
Member Author

Choose a reason for hiding this comment

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

Handled in #11481

@timhoffm timhoffm deleted the remove-pylab-references branch June 22, 2018 07:29
@QuLogic QuLogic added this to the v3.0 milestone Jun 22, 2018
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.

3 participants