Movatterモバイル変換


[0]ホーム

URL:


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

Commit01d9efb

Browse files
authored
Update the readme on providing API changes (#15367)
Update the readme on providing API changes
2 parents6086c98 +c8f416e commit01d9efb

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

‎doc/api/next_api_changes/README.rst

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,28 @@
33
Adding API change notes
44
=======================
55

6-
Please place new portions of `api_changes.rst`in the
7-
`next_api_changes` directory.
6+
API change notes for future releases are collectedin the directory
7+
:file:`next_api_changes`. They are divided into four categories:
88

9-
When adding an entry please look at the currently existing files to
10-
see if you can extend any of them. If you create a file, name it
11-
:file:`what_api_changes.rst` (ex:file:`deprecated_rcparams.rst`) with
12-
contents following the form: ::
9+
- **Deprecations**: Announcements of future changes. Typically, these will
10+
raise a deprecation warning and users of this API should change their code
11+
to stay compatible with future releases of Matplotlib. If possible, state
12+
what should be used instead.
13+
- **Removals**: Parts of the API that got removed. If possible, state what
14+
should be used instead.
15+
- **Behaviour changes**: API that stays valid but will yield a different
16+
result.
17+
- **Development changes**: Changes to the build process, dependencies, etc.
1318

14-
Brief description of change
15-
---------------------------
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.
1623

17-
Long description of change, justification, and work-arounds to
18-
maintain old behavior (if any).
24+
A typical entry could look like this::
1925

26+
Locators
27+
~~~~~~~~
28+
The unused `Locator.autoscale()` method is deprecated (pass the axis
29+
limits to `Locator.view_limits()` instead).
2030

21-
If you need more heading levels, please use ``~~~~`` and ``++++``.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp