Skip to content

Update pylab example to OO format #8886

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 3 commits into from
Jul 15, 2017

Conversation

dmgt
Copy link
Contributor

@dmgt dmgt commented Jul 15, 2017

PR Summary

Updating this example to use object oriented format as opposed to previous pyplot API.

PR Checklist

  • Code is PEP 8 compliant

Copy link
Contributor

@choldgraf choldgraf 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!

@choldgraf
Copy link
Contributor

@NelleV could you give a quick review?


plt.show()

Copy link
Member

Choose a reason for hiding this comment

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

I haven't looked at the travis log, but I wouldn't be surprised this blank line is a PEP8 violation.

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought that it was the oppose - that blank lines at the end of a file are required?

Copy link
Contributor

Choose a reason for hiding this comment

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

since there needs to be a newline at the end?

Copy link
Contributor

Choose a reason for hiding this comment

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

looking at travis I think you're right.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I fixed it

@QuLogic QuLogic added this to the 2.1 (next point release) milestone Jul 15, 2017
@NelleV NelleV merged commit 0ac0122 into matplotlib:master Jul 15, 2017
@tacaswell
Copy link
Member

@dmgt Thanks and congratulation on (what I think is) your first Matplotlib PR 🎉

@choldgraf
Copy link
Contributor

wooo!!! way to go!! 🎉 🎉 🎉 🎉

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

Successfully merging this pull request may close these issues.

5 participants