Skip to content

Commit 6bcc031

Browse files
committed
added boilerplate to api changes
and changed color heading level
1 parent ba0ff3a commit 6bcc031

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

doc/devel/api_changes.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,16 @@ When adding a new rcParam, the following files must be updated:
4646
so that it is recognized as a valid rcParam key.
4747

4848

49+
Add or change pyplot method signature
50+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51+
When changing the signature of a method wrapped by :doc:`pyplot <.doc/api/pyplot_summary>`
52+
, run :file:`lib/matplotlib/test_pyplot.py::test_pyplot_up_to_date`. If the test fails
53+
and you had intended to change the signatures, run :file:`tools\boilerplate.py` to
54+
generate new pyplot wrappers and commit the changes.
55+
56+
4957
Add or change colormaps, color sequences, and styles
50-
----------------------------------------------------
58+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5159
Visual changes are considered an API break. Therefore, we generally do not modify
5260
existing colormaps, color sequences, or styles.
5361

0 commit comments

Comments
 (0)