File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
api/next_api_changes/deprecations Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 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 `
66with the following arguments
77
88- `matplotlib.backends.registry.BackendFilter.INTERACTIVE `
Original file line number Diff line number Diff line change 11BackendRegistry
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 ``.
Original file line number Diff line number Diff line change 33
44class 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.
You can’t perform that action at this time.
0 commit comments