Skip to content

Commit c77dc59

Browse files
committed
Fix docs
1 parent 67bec5b commit c77dc59

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

doc/api/next_api_changes/deprecations/27719-IT.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
`~.rcsetup.interactive_bk`, `~.rcsetup.non_interactive_bk` and `~.rcsetup.all_backends`
1+
``rcsetup.interactive_bk``, ``rcsetup.non_interactive_bk`` and ``rcsetup.all_backends``
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

44
... are deprecated and replaced by
5-
:meth:`matplotlib.backends.registry.backend_registry.list_builtin`
5+
:meth:`matplotlib.backends.registry.BackendRegistry.list_builtin`
66
with the following arguments
77

88
- `matplotlib.backends.registry.BackendFilter.INTERACTIVE`
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BackendRegistry
22
~~~~~~~~~~~~~~~
33

4-
New `~/.BackendRegistry` class is the single source of truth for available
5-
backends. The singleton instance is `matplotlib.backends.registry.backend_registry`.
4+
New :class:`~matplotlib.backends.registry.BackendRegistry` class is the single
5+
source of truth for available backends. The singleton instance is
6+
``matplotlib.backends.registry.backend_registry``.

lib/matplotlib/backends/registry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class BackendFilter(Enum):
55
"""
6-
Filter used with :meth:`~.BackendRegistry.list_builtins`
6+
Filter used with :meth:`~matplotlib.backends.registry.BackendRegistry.list_builtin`
77
88
.. versionadded:: 3.9
99
"""
@@ -17,6 +17,9 @@ class BackendRegistry:
1717
1818
This is the single source of truth for available backends.
1919
20+
All use of ``BackendRegistry`` should be via the singleton instance
21+
``backend_registry``.
22+
2023
.. versionadded:: 3.9
2124
"""
2225
# Built-in backends are those which are included in the Matplotlib repo.

0 commit comments

Comments
 (0)