You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
are the mechanism for contributing to Matplotlib's code and documentation.
10
10
11
-
It is recommended to check that your contribution complies with the following
12
-
rules before submitting a pull request:
11
+
We value contributions from people with all levels of experience. In particular,
12
+
if this is your first PR not everything has to be perfect. We'll guide you
13
+
through the PR process. Nevertheless, please try to follow our guidelines as well
14
+
as you can to help make the PR process quick and smooth. If your pull request is
15
+
incomplete or a work-in-progress, please mark it as a `draft pull requests <https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests>`_
16
+
on GitHub and specify what feedback from the developers would be helpful.
13
17
14
-
* If your pull request addresses an issue, please use the title to describe the
15
-
issue (e.g. "Add ability to plot timedeltas") and mention the issue number
16
-
in the pull request description to ensure that a link is created to the
17
-
original issue (e.g. "Closes #8869" or "Fixes #8869"). This will ensure the
18
-
original issue mentioned is automatically closed when your PR is merged. See
* When updating your PR, instead of adding new commits to fix something, please
128
-
consider amending your initial commit(s) to keep the history clean.
129
-
You can achieve this by using
61
+
* If your pull request addresses an issue, please use the title to describe the
62
+
issue (e.g. "Add ability to plot timedeltas") and mention the issue number
63
+
in the pull request description to ensure that a link is created to the
64
+
original issue (e.g. "Closes #8869" or "Fixes #8869"). This will ensure the
65
+
original issue mentioned is automatically closed when your PR is merged. For more
66
+
details, see `linking an issue and pull request <https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue>`__.
The directives should be placed at the end of a description block. For example::
218
-
219
-
class Foo:
220
-
"""
221
-
This is the summary.
222
-
223
-
Followed by a longer description block.
224
-
225
-
Consisting of multiple lines and paragraphs.
226
-
227
-
.. versionadded:: 3.5
228
-
229
-
Parameters
230
-
----------
231
-
a : int
232
-
The first parameter.
233
-
b: bool, default: False
234
-
This was added later.
235
-
236
-
.. versionadded:: 3.6
237
-
"""
238
-
239
-
def set_b(b):
240
-
"""
241
-
Set b.
242
-
243
-
.. versionadded:: 3.6
244
-
245
-
Parameters
246
-
----------
247
-
b: bool
248
-
249
-
For classes and functions, the directive should be placed before the
250
-
*Parameters* section. For parameters, the directive should be placed at the
251
-
end of the parameter description. The patch release version is omitted and
252
-
the directive should not be added to entire modules.
253
-
254
137
.. _pr-labels:
255
138
256
139
Labels
@@ -330,7 +213,8 @@ Merging
330
213
331
214
Automated tests
332
215
---------------
333
-
Before being merged, a PR should pass the :ref:`automated-tests`. If you are unsure why a test is failing, ask on the PR or in our `chat space <https://gitter.im/matplotlib/matplotlib>`_
216
+
Before being merged, a PR should pass the :ref:`automated-tests`. If you are
217
+
unsure why a test is failing, ask on the PR or in our :ref:`communication-channels`
0 commit comments