8000 Add bug report reqs and template to contributing guide · matplotlib/matplotlib@2db2fad · GitHub
[go: up one dir, main page]

Skip to content

Commit 2db2fad

Browse files
committed
Add bug report reqs and template to contributing guide
1 parent cb89b8b commit 2db2fad

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

doc/devel/contributing.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,60 @@ ticket to the
1717
`Bug Tracker <https://github.com/matplotlib/matplotlib/issues>`_. You are
1818
also welcome to post feature requests or pull requests.
1919

20+
If you are reporting a bug, please do your best to include each of the following:
21+
22+
1. A short, top-level summary of the bug. In most cases, this should be 1-2
23+
sentences.
24+
25+
2. A short, self-contained code snippet to reproduce the bug, ideally allowing
26+
a simple copy and paste to reproduce. Please do your best to reduce the code
27+
snippet to the minimum required.
28+
29+
3. The actual outcome of the code snippet
30+
31+
4. The expected outcome of the code snippet
32+
33+
5. The version of matplotlib that you are using. You can grab the version with
34+
the following command::
35+
36+
>>> import matplotlib
37+
>>> matplotlib.__version__
38+
'1.5.3'
39+
40+
If you would like a template to organize this information in the issue, you may paste the following into your issue::
41+
42+
**Bug summary**
43+
44+
A short 1-2 sentences that succinctly describes the bug.
45+
46+
**Code for reproduction**
47+
48+
```python
49+
# Paste your code here
50+
#
51+
#
52+
```
53+
54+
**Actual outcome**
55+
56+
Ideally, a direct paste of the output produced by the above code.
57+
58+
```python
59+
# You can use this if it is a piece of console output
60+
#
61+
#
62+
```
63+
64+
**Expected outcome**
65+
66+
A description of the expected outcome
67+
68+
**Matplotlib version**
69+
70+
1.5.3
71+
72+
Thank you for your help in keeping bug reports complete, targeted and descriptive.
73+
2074

2175
Retrieving and installing the latest version of the code
2276
========================================================

0 commit comments

Comments
 (0)
0