Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b1e887

Browse files
committed
Coding guide pyplot update.
1 parent d7b2999 commit 7b1e887

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

doc/devel/coding_guide.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Writing examples
323323
================
324324

325325
We have hundreds of examples in subdirectories of
326-
file:`matplotlib/examples`, and these are automatically
326+
:file:`matplotlib/examples`, and these are automatically
327327
generated when the website is built to show up both in the `examples
328328
<http://matplotlib.sourceforge.net/examples/index.html>`_ and `gallery
329329
<http://matplotlib.sourceforge.net/gallery.html>`_ sections of the
@@ -349,6 +349,17 @@ object::
349349
print 'datafile', datafile
350350

351351

352+
Writing a new pyplot function
353+
=============================
354+
355+
The :mod:`matplotlib.pyplot` module can be thought of as combination of some
356+
manually written and some autogenerated functions. Modifications can be made
357+
to pyplot where the function definition does not explicitly state otherwise
358+
and autogenerated functions can be modified by changing, and subsequently
359+
runnning, the :file:`boilerplate.py` script which will re-generate the complete
360+
pyplot module inplace, keeping all of the manual content.
361+
362+
352363
Testing
353364
=======
354365

0 commit comments

Comments
 (0)