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

Skip to content

Commit 0cda28a

Browse files
committed
MNT: reorganize next_api again
1 parent d2f25c9 commit 0cda28a

14 files changed

Lines changed: 59 additions & 33 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- [ ] New features are documented, with examples if plot related
88
- [ ] Documentation is sphinx and numpydoc compliant
99
- [ ] Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
10-
- [ ] Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
10+
- [ ] Documented in doc/api/next_api_changes/* if API changed in a backward-incompatible way
1111

1212
<!--
1313
Thank you so much for your PR! To help us review your contribution, please

doc/api/api_changes.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ added to Matplotlib, see :ref:`whats-new`.
3333
:glob:
3434
:maxdepth: 1
3535

36-
api_changes_3.4/*
36+
next_api_changes/behavior/*
37+
next_api_changes/deprecations/*
38+
next_api_changes/development/*
39+
next_api_changes/removals/*
3740

3841
.. include:: prev_api_changes/api_changes_3.3.0.rst

doc/api/api_changes_3.4/behaviour.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/api/api_changes_3.4/development.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

doc/api/api_changes_3.4/removals.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Adding API change notes
44
=======================
55

6-
API change notes for future releases are collected in the most recent directory
7-
:file:`api_changes_X.Y`. They are divided into four categories:
6+
API change notes for future releases are collected in
7+
:file:`next_api_changes`. They are divided into four subdirectories:
88

99
- **Deprecations**: Announcements of future changes. Typically, these will
1010
raise a deprecation warning and users of this API should change their code
@@ -16,14 +16,15 @@ API change notes for future releases are collected in the most recent directory
1616
result.
1717
- **Development changes**: Changes to the build process, dependencies, etc.
1818

19-
Please place new entries in the respective files in this directory. Typically,
20-
each change will get its own section, but you may also amend existing sections
21-
when suitable. The overall goal is a comprehensible documentation of the
22-
changes.
19+
Please place new entries in these directories with a new file named
20+
``99999-ABC.rst``, where ``99999`` would be the PR number, and ``ABC`` the
21+
author's initials. Typically, each change will get its own file, but you may
22+
also amend existing files when suitable. The overall goal is a comprehensible
23+
documentation of the changes.
2324

2425
A typical entry could look like this::
2526

26-
Locators
27-
~~~~~~~~
28-
The unused `Locator.autoscale()` method is deprecated (pass the axis
29-
limits to `Locator.view_limits()` instead).
27+
Locators
28+
~~~~~~~~
29+
The unused `Locator.autoscale()` method is deprecated (pass the axis
30+
limits to `Locator.view_limits()` instead).
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Behavior Change template
2+
~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Enter description here....
5+
6+
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7+
and ``git add`` the new file.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Template for deprecations
2+
~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Add description here...
5+
6+
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7+
and ``git add`` the new file.

doc/api/api_changes_3.4/deprecations.rst renamed to doc/api/next_api_changes/deprecations/00009-AL.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
Deprecations
2-
------------
3-
41
``dpi_cor`` property of `.FancyArrowPatch`
52
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
This parameter is considered internal and deprecated.
74

8-
95
Colorbar docstrings
106
~~~~~~~~~~~~~~~~~~~
117
The following globals in :mod:`matplotlib.colorbar` are deprecated:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Development Change template
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Enter description here....
5+
6+
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7+
and ``git add`` the new file.

0 commit comments

Comments
 (0)