Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f75fff

Browse filesBrowse files
committed
Update coding guide with suggestions from the PR.
1 parent 050b27f commit 4f75fff
Copy full SHA for 4f75fff

File tree

Expand file treeCollapse file tree

1 file changed

+8
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-1
lines changed

‎doc/devel/coding_guide.rst

Copy file name to clipboardExpand all lines: doc/devel/coding_guide.rst
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Style
3737
- You may want to consider installing automatic PEP8 checking in
3838
your editor.
3939

40-
* No tabs (only space). No trailing whitespace.
40+
* No tabs (only spaces). No trailing whitespace.
4141

4242
- Configuring your editor to remove these things upon saving will
4343
save a lot of trouble.
@@ -49,11 +49,16 @@ Style
4949
import matplotlib as mpl
5050
from matplotlib import pyplot as plt
5151
import matplotlib.cbook as cbook
52+
import matplotlib.collections as mcol
53+
import matplotlib.patches as mpatches
5254

5355
* See below for additional points about
5456
:ref:`keyword-argument-processing`, if code in your pull request
5557
does that.
5658

59+
* Adding a new pyplot function involves generating code. See
60+
:ref:`new-pyplot-function` for more information.
61+
5762
Documentation
5863
-------------
5964

@@ -236,6 +241,8 @@ example code you can load it into a file handle with::
236241
import matplotlib.cbook as cbook
237242
fh = cbook.get_sample_data('mydata.dat')
238243

244+
.. _new-pyplot-function:
245+
239246
Writing a new pyplot function
240247
-----------------------------
241248

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.