Title: FIX: pyplot auto-backend detection case-sensitivity fixup by jayaddison · Pull Request #29721 · matplotlib/matplotlib · GitHub
Open Graph Title: FIX: pyplot auto-backend detection case-sensitivity fixup by jayaddison · Pull Request #29721 · matplotlib/matplotlib
X Title: FIX: pyplot auto-backend detection case-sensitivity fixup by jayaddison · Pull Request #29721 · matplotlib/matplotlib
Description: PR summary
There seems to be a case-sensitivity bug in the matplotlib.pyplot module code that decides whether to configure backend autodetection, and I think that this is the cause of the bug reported in #29713.
The bug means that a current interactive environment value of TkAgg is not detected as one of the possible values from a set that includes the string tkagg -- and so an auto-backend is not configured, as it would have been previously in v3.8.3 of this library.
A minimal repro example is provided below, for use in a container environment with no graphical/GUI environment available:
>>> import matplotlib.pyplot
>>> matplotlib.pyplot.new_figure_manager()
Traceback (most recent call last):
File "
Open Graph Description: PR summary There seems to be a case-sensitivity bug in the matplotlib.pyplot module code that decides whether to configure backend autodetection, and I think that this is the cause of the bug repor...
X Description: PR summary There seems to be a case-sensitivity bug in the matplotlib.pyplot module code that decides whether to configure backend autodetection, and I think that this is the cause of the bug repor...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/29721
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files/:range(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eb9cac22-6f4c-4152-eeb6-2366a4368cfa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFB4:301411:1FDE28F:2B37771:6A65557E |
| html-safe-nonce | 345471f7a5646037011a01b46e905980a17188b27301ac26d8ff8b9e0cf7725c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkI0OjMwMTQxMToxRkRFMjhGOjJCMzc3NzE6NkE2NTU1N0UiLCJ2aXNpdG9yX2lkIjoiMTQ4MTAxNTYyMTUwMTQwODYzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ea228ad1ffb9368a812a94f534c9cfc63cd52f512e7411081640348f321aab83 |
| hovercard-subject-tag | pull_request:2380673649 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/29721/files/2ed08c185c727f17a9b8d16ad8cb0c31cc48a0de |
| twitter:image | https://avatars.githubusercontent.com/u/55152140?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55152140?s=400&v=4 |
| og:image:alt | PR summary There seems to be a case-sensitivity bug in the matplotlib.pyplot module code that decides whether to configure backend autodetection, and I think that this is the cause of the bug repor... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width