Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
choldgraf left a comment
There was a problem hiding this 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 commentedJul 15, 2017
@NelleV could you give a quick review? |
examples/pylab_examples/log_test.py Outdated
| ax.grid() | ||
| plt.show() | ||
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks, I fixed it
tacaswell commentedJul 16, 2017
@dmgt Thanks and congratulation on (what I think is) your first Matplotlib PR 🎉 |
choldgraf commentedJul 16, 2017
wooo!!! way to go!! 🎉 🎉 🎉 🎉 |
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Updating this example to use object oriented format as opposed to previous pyplot API.
PR Checklist