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

Sign up
Appearance settings

Commit 46e1761

Browse files
committed
@mdboom's suggested devel documentation for boilerplate.
1 parent 8bc84e6 commit 46e1761

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

‎doc/devel/coding_guide.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,12 @@ object::
351351

352352
Writing a new pyplot function
353353
=============================
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-
354+
A large portion of the pyplot interface is automatically generated by the
355+
`boilerplate.py` script (in the root of the source tree). To add or remove
356+
a plotting method from pyplot, edit the appropriate list in `boilerplate.py`
357+
and then run the script which will update the content in
358+
`lib/matplotlib/pyplot.py`. Both the changes in `boilerplate.py` and
359+
`lib/matplotlib/pyplot.py` should be checked into the repository.
362360

363361
Testing
364362
=======

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /