-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Delete redundant examples from user gallery that are also present in the annotations tutorial #25153
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
Delete redundant examples from user gallery that are also present in the annotations tutorial #25153
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.
Looks great, but I think redirects all need to be at the top, perhaps even before the title?
This is probably very late. But is there a way that I can render a local version of the docs website with the tutorials by any chance? |
https://matplotlib.org/devdocs/devel/documenting_mpl.html#building-the-docs. Note that if you want to just build certain directories, you can run |
Okay I think the redirects should be working now. |
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.
We can squash merge, but if you want some git practice would you like to squash yourself?
Ps if you try a squash for the first time maybe back up your branch, or at least do a git log before pushing to your fork. |
Okay, I'll give it a go |
…te_* examples in gallery/userdemo
86795e3
to
b533050
Compare
I've squashed the commits and nothing too weird is happening from my end I think considering the commit changes and I was able to build the docs locally to the extent that covers the context of this PR. I'm not sure why some of the tests fail (the build docs' test in particular). |
Okay, I think the docs build now. I don't think the |
I squashed this @erg0dic Thanks for the contribution, and we hope to hear from you again. |
PR Summary
Tackles issue #24723. @rcomer @anntzer, which builds on the changed made by @story645 in the annotations' tutorial in the PR #23606.
I noticed there were about 7 obvious examples in the user gallery that could easily be removed so I did just that and added a
in the corresponding locations where the examples were used in the text of the
annotations.py
file.I'm not sure about the format for redirects so please let me know if they need to be in the docstrings in the header of
annotations.py
.PR Checklist
Documentation and Tests
pytest
passes)