-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Create box3d example #19363
Create box3d example #19363
Conversation
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.
Thank you for opening your first PR into Matplotlib!
If you have not heard from us in a while, please feel free to ping @matplotlib/developers
or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join us on gitter for real-time discussion.
For details on testing, writing docs, and our review process, please see the developer guide
We strive to be a welcoming and open project. Please follow our Code of Conduct.
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 have implemented all suggested changes.
- Missing whitespaces
- Replace single by double quotes
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 have incorporated the latest changes.
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.
Incorporated pflakes suggestions
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.
Incorporate pflakes suggestions
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.
Incorporate pflakes suggestions
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.
Incorporated PyLint suggestions.
Hi @jklymak |
Circle CI builds the docs for you. If it is failing. you likely have a syntax error or a reference that doesn't resolve. Have a look at the log output (click on Details), and do a case-sensitive search on WARNING usually will help you find it. |
We do not have |
Yeah, definitely no xarray (as much as I love xarray) |
Ok! I will rewrite it without xarray. |
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.
Replaced Xarray by NumPy
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.
Incorporate flake8 suggestions
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.
Breaking long lines.
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.
Great! Now you have a bunch of flake8 errors though that need to be fixed. Sorry, they are annoying, but help keep the code semi-consistent....
@jklymak |
oops, it seems fine now. Thanks. |
The example is still failing to run... Does it work for you? |
Hmmm, well unfortunately it has to pass on CI. Click through the links under "Checks" and you will see how this is failing. |
The aspect ratio has changed, but this now works with #19399 |
If you rebase on latest |
It looks like it failed for Tests / Python 3.8 on ubuntu-16.04 (pull_request). |
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 for the PR!
Generally, aim at making the example as small and concise as possible, both the description and the code. This will help people to understand it and get the relevant information and concepts used.
Change 'da' to 'data' Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Simplify definition for contourf key args Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Compacting code Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Simplify the title of the tutorial Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Concise documentation Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
Remove credits
Replace da for data
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.
Replace 'da' for 'data'
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@QuLogic |
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Thanks @iuryt! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again. |
Thanks @QuLogic ! |
Suggestion from #19310
PR Summary
This pull request adds a new example for the 3D plots.
I am not sure how to check all steps from the Checklist, but it is simply adding a new example.
Origin of this suggestion: #19310
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).