Repository navigation
Refactoring gitwash #23588
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
Refactoring gitwash #23588
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,19 +13,19 @@ | |
| Pull request guidelines | ||
| *********************** | ||
|
|
||
| Pull requests (PRs) are the mechanism for contributing to Matplotlib's code and | ||
| documentation. | ||
| `Pull requests (PRs) on GitHub <https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests>`__ | ||
| are the mechanism for contributing to Matplotlib's code and documentation. | ||
|
|
||
| It is recommended to check that your contribution complies with the following | ||
| rules before submitting a pull request: | ||
|
|
||
| * If your pull request addresses an issue, please use the title to describe the | ||
| issue and mention the issue number in the pull request description to ensure | ||
| that a link is created to the original issue. | ||
|
|
||
| * All public methods should have informative docstrings with sample usage when | ||
| appropriate. Use the `numpy docstring standard | ||
| <https://numpydoc.readthedocs.io/en/latest/format.html>`_. | ||
| issue (e.g. "Add ability to plot timedeltas") and mention the issue number | ||
| in the pull request description to ensure that a link is created to the | ||
| original issue (e.g. "Closes #8869" or "Fixes #8869"). This will ensure the | ||
| original issue mentioned is automatically closed when your PR is merged. See | ||
| `the GitHub documentation <https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue>`__ | ||
| for more details. | ||
|
|
||
| * Formatting should follow the recommendations of PEP8_, as enforced by | ||
| flake8_. You can check flake8 compliance from the command line with :: | ||
|
|
@@ -45,6 +45,9 @@ rules before submitting a pull request: | |
| .. __: https://github.com/psf/black/issues/148 | ||
| .. __: https://github.com/psf/black/issues/1984 | ||
|
|
||
| * All public methods should have informative docstrings with sample usage when | ||
| appropriate. Use the :ref:`docstring standards <writing-docstrings>`. | ||
|
|
||
| * Each high-level plotting function should have a simple example in the | ||
| ``Example`` section of the docstring. This should be as simple as possible | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest we drop this. We don't consistently have this in our current docs. Examples calls are usually not very instuctive without seeing the visual output. And we have the sphinx-gallery mini galleries at the bottom of the docstring. We don't consistently have this in our current docs, and I If we want this, we should move it to https://matplotlib.org/stable/devel/documenting_mpl.html#writing-docstrings
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you're right - and this is actually pretty well explained already in that page. Let me know if what I wrote makes sense, or if we should remove entirely. |
||
| to demonstrate the method. More complex examples should go in the | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.