@@ -25,6 +25,20 @@ about the code, what makes for good documentation or a blog post, how to get inv
25
25
in community work, or get "pre-review" on your PR.
26
26
27
27
28
+ .. _new_contributors :
29
+
30
+ Issues for New Contributors
31
+ ---------------------------
32
+
33
+ While any contributions are welcome, we have marked some issues as
34
+ particularly suited for new contributors by the label
35
+ `good first issue <https://github.com/matplotlib/matplotlib/labels/good%20first%20issue >`_
36
+ These are well documented issues, that do not require a deep understanding of
37
+ the internals of Matplotlib. The issues may additionally be tagged with a
38
+ difficulty. ``Difficulty: Easy `` is suited for people with little Python experience.
39
+ ``Difficulty: Medium `` and ``Difficulty: Hard `` are not trivial to solve and
40
+ require more thought and programming experience.
41
+
28
42
.. _submitting-a-bug-report :
29
43
30
44
Submitting a bug report
@@ -53,10 +67,10 @@ If you are reporting a bug, please do your best to include the following:
53
67
54
68
>>> import matplotlib
55
69
>>> matplotlib.__version__
56
- '1.5.3 '
70
+ '3.4.1 '
57
71
>>> import platform
58
72
>>> platform.python_version()
59
- '2.7.12 '
73
+ '3.9.2 '
60
74
61
75
We have preloaded the issue creation page with a Markdown template that you can
62
76
use to organize this information.
@@ -88,9 +102,6 @@ The preferred way to contribute to Matplotlib is to fork the `main
88
102
repository <https://github.com/matplotlib/matplotlib/> `__ on GitHub,
89
103
then submit a "pull request" (PR).
90
104
91
- The best practices for using GitHub to make PRs to Matplotlib are
92
- documented in the :ref: `development-workflow ` section.
93
-
94
105
A brief overview is:
95
106
96
107
1. `Create an account <https://github.com/join >`_ on GitHub if you do not
@@ -102,34 +113,36 @@ A brief overview is:
102
113
103
114
3. Clone this copy to your local disk::
104
115
105
- $ git clone https://github.com/YourLogin /matplotlib.git
116
+ git clone https://github.com/<YOUR GITHUB USERNAME> /matplotlib.git
106
117
107
- 4. Create a branch to hold your changes::
118
+ 4. Enter the directory and install the local version of Matplotlib.
119
+ See ref`<installing_for_devs>` for instructions
108
120
109
- $ git checkout -b my-feature origin/master
121
+ 5. Create a branch to hold your changes::
122
+
123
+ git checkout -b my-feature origin/master
110
124
111
125
and start making changes. Never work in the ``master`` branch!
112
126
113
- 5 . Work on this copy, on your computer, using Git to do the version control.
127
+ 6 . Work on this copy, on your computer, using Git to do the version control.
114
128
When you're done editing e.g., ``lib/matplotlib/collections.py ``, do::
115
129
116
- $ git add lib/matplotlib/collections.py
117
- $ git commit
130
+ git add lib/matplotlib/collections.py
131
+ git commit
118
132
119
133
to record your changes in Git, then push them to GitHub with::
120
134
121
- $ git push -u origin my-feature
135
+ git push -u origin my-feature
122
136
123
137
Finally, go to the web page of your fork of the Matplotlib repo, and click
124
- 'Pull request' to send your changes to the maintainers for review. You may
125
- want to consider sending an email to the mailing list for more visibility.
138
+ 'Pull request' to send your changes to the maintainers for review.
126
139
127
140
.. seealso ::
128
141
129
142
* `Git documentation <https://git-scm.com/documentation >`_
130
143
* `Git-Contributing to a Project <https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project >`_
131
144
* `Introduction to GitHub <https://lab.github.com/githubtraining/introduction-to-github >`_
132
- * :ref: `development-workflow `
145
+ * :ref: `development-workflow ` for best practices for Matplotlib
133
146
* :ref: `using-git `
134
147
135
148
Contributing pull requests
@@ -216,20 +229,6 @@ tools:
216
229
217
230
218
231
219
- .. _new_contributors :
220
-
221
- Issues for New Contributors
222
- ---------------------------
223
-
224
- New contributors should look for the following tags when looking for issues.
225
- We strongly recommend that new contributors tackle issues labeled
226
- `good first issue <https://github.com/matplotlib/matplotlib/labels/good%20first%20issue >`_
227
- as they are easy, well documented issues, that do not require an understanding of
228
- the different submodules of Matplotlib.
229
- This helps the contributor become familiar with the contribution
230
- workflow, and for the core devs to become acquainted with the contributor;
231
- besides which, we frequently underestimate how easy an issue is to solve!
232
-
233
232
234
233
.. _contributing_documentation :
235
234
0 commit comments