Skip to content

Commit ca12487

Browse files
authored
mpl: replace deprecated all_backends (#160)
* mpl: replace deprecated all_backends * changelog
1 parent d171d13 commit ca12487

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
### Internal changes
2424

25+
- Replace deprecated `matplotlib.rcsetup.all_backends` with `matplotlib.backends.backend_registry.list_builtin()`
26+
([#160](https://github.com/mpytools/mplotutils/pull/160)).
2527

2628
## v0.6.0 (04.12.2024)
2729

mplotutils/tests/test_get_renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from . import figure_context, restore_backend
77

88

9-
@pytest.mark.parametrize("backend", matplotlib.rcsetup.all_backends)
9+
@pytest.mark.parametrize("backend", matplotlib.backends.backend_registry.list_builtin())
1010
def test_get_renderer(backend):
1111

1212
with restore_backend(backend):

0 commit comments

Comments
 (0)