Commit 7e92025
committed
MNT: Deprecate rcParams._get("backend")
since 3.10 we have the official API `matplotlib.get_backend
(auto_select=False)`. No problems have been reported and
matplotlib-inline is using it https://github
.com/ipython/matplotlib-inline/pull/38. Therefore, I remove the
provisional status from the auto-select flag.
Additionally, I deprecate the API rcParams._get('backend'), which the
above is replacing.
It seems that `rcParams._get("backend")` is not used anywhere
publically, but let's still be defensive and deprecate.
https://github.com/search?q=%2F%5C._get%5C%28%5B%22%27%5Dbackend%5B%22%27%5D%5C%29%2F+language%3APython+NOT+is%3Afork+NOT+path%3A**%2Fmatplotlib%2F**+NOT+path%3A**%2Fsite-packages**+NOT+path%3A**%2Fpyplot.py&type=code
This is working towards matplotlib#26406.
Follow-up to matplotlib#29039.1 parent a5cc230 commit 7e92025
File tree
2 files changed
+14
-10
lines changed- doc/api/next_api_changes/deprecations
- lib/matplotlib
2 files changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
715 | 721 | | |
716 | 722 | | |
717 | 723 | | |
| |||
1278 | 1284 | | |
1279 | 1285 | | |
1280 | 1286 | | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | 1289 | | |
1289 | 1290 | | |
1290 | 1291 | | |
1291 | 1292 | | |
1292 | 1293 | | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
| 1294 | + | |
1298 | 1295 | | |
1299 | 1296 | | |
1300 | 1297 | | |
| |||
0 commit comments