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

Skip to content

Commit 54e0c9c

Browse files
committed
DOC no more addition to pyplot
1 parent c97d6ac commit 54e0c9c

1 file changed

Lines changed: 5 additions & 30 deletions

File tree

doc/devel/contributing.rst

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,13 @@ rules before submitting a pull request:
175175
import matplotlib.collections as mcol
176176
import matplotlib.patches as mpatches
177177

178-
* If your changes are non-trivial, please make an entry in the
179-
:file:`CHANGELOG`.
180-
181-
* If your change is a major new feature, add an entry to
182-
:file:`doc/users/whats_new.rst`.
178+
* If your change is a major new feature, add an entry to `What's new`
179+
section by adding a new file in `doc/users/whats_new` (see
180+
:file:`doc/users/whats_new/README` for more information).
183181

184182
* If you change the API in a backward-incompatible way, please
185-
document it in :file:`doc/api/api_changes.rst`.
186-
187-
188-
* Adding a new pyplot function involves generating code. See
189-
:ref:`new-pyplot-function` for more information.
183+
document it in `doc/api/api_changes`, by adding a new file describing your
184+
changes (see :file:`doc/api/api_changes/README` for more information)
190185

191186
* See below for additional points about
192187
:ref:`keyword-argument-processing`, if code in your pull request
@@ -399,23 +394,3 @@ example code you can load it into a file handle with::
399394

400395
import matplotlib.cbook as cbook
401396
fh = cbook.get_sample_data('mydata.dat')
402-
403-
.. _new-pyplot-function:
404-
405-
Writing a new pyplot function
406-
-----------------------------
407-
408-
A large portion of the pyplot interface is automatically generated by the
409-
`boilerplate.py` script (in the root of the source tree). To add or remove
410-
a plotting method from pyplot, edit the appropriate list in `boilerplate.py`
411-
and then run the script which will update the content in
412-
`lib/matplotlib/pyplot.py`. Both the changes in `boilerplate.py` and
413-
`lib/matplotlib/pyplot.py` should be checked into the repository.
414-
415-
Note: boilerplate.py looks for changes in the installed version of matplotlib
416-
and not the source tree. If you expect the pyplot.py file to show your new
417-
changes, but they are missing, this might be the cause.
418-
419-
Install your new files by running `python setup.py build` and `python setup.py
420-
install` followed by `python boilerplate.py`. The new pyplot.py file should now
421-
have the latest changes.

0 commit comments

Comments
 (0)