Title: Cannot use Qt4Agg backend in mpl 3.2.1 · Issue #17594 · matplotlib/matplotlib · GitHub
Open Graph Title: Cannot use Qt4Agg backend in mpl 3.2.1 · Issue #17594 · matplotlib/matplotlib
X Title: Cannot use Qt4Agg backend in mpl 3.2.1 · Issue #17594 · matplotlib/matplotlib
Description: Bug report Bug summary Can't use qt4agg, error reported below. Downgrade to matplotlib 3.1.3 solves the problem. Code for reproduction import matplotlib as mpl mpl.use('qt4agg') Or, set it to Qt4Agg in matplotlibrc file. Actual outcome I...
Open Graph Description: Bug report Bug summary Can't use qt4agg, error reported below. Downgrade to matplotlib 3.1.3 solves the problem. Code for reproduction import matplotlib as mpl mpl.use('qt4agg') Or, set it to Qt4Ag...
X Description: Bug report Bug summary Can't use qt4agg, error reported below. Downgrade to matplotlib 3.1.3 solves the problem. Code for reproduction import matplotlib as mpl mpl.use('qt4agg') Or, set...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17594
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot use Qt4Agg backend in mpl 3.2.1","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\nCan't use qt4agg, error reported below.\r\n\r\nDowngrade to matplotlib 3.1.3 solves the problem.\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\n\r\n\r\n```python\r\nimport matplotlib as mpl\r\nmpl.use('qt4agg')\r\n```\r\nOr, set it to Qt4Agg in `matplotlibrc` file.\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\n```\r\nImportError: cannot import name '_isdeleted' \r\nFailed to enable GUI event loop integration for 'qt5'\r\n```\r\n\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: win 10 LTSC 2019\r\n * Matplotlib version: 3.2.1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): can only use TkAgg\r\n * Python version: 3.6\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/alexysong","@type":"Person","name":"alexysong"},"datePublished":"2020-06-09T02:08:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/17594/matplotlib/issues/17594"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:20d6a8cf-a5c5-99a0-96c3-b82a1848d46c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7C4:2987FD:421BA05:5BF8A81:6A54DAC1 |
| html-safe-nonce | 7e609d76d1cb2e2cf57b69d59ffc3acfda1cf18f05e67b7eac20e6b36c32db91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0M0OjI5ODdGRDo0MjFCQTA1OjVCRjhBODE6NkE1NERBQzEiLCJ2aXNpdG9yX2lkIjoiMTI0NTcwNjMyOTEzMTM3NTI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44d355dd8254755cc6927ce33a9fdf69985abc940485a647a628cd7f67edf197 |
| hovercard-subject-tag | issue:635052896 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/17594/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5261c20348a685599aad39fb473a0d38c354f3200c8a5288540295156a464542/matplotlib/matplotlib/issues/17594 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5261c20348a685599aad39fb473a0d38c354f3200c8a5288540295156a464542/matplotlib/matplotlib/issues/17594 |
| og:image:alt | Bug report Bug summary Can't use qt4agg, error reported below. Downgrade to matplotlib 3.1.3 solves the problem. Code for reproduction import matplotlib as mpl mpl.use('qt4agg') Or, set it to Qt4Ag... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexysong |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 00f21e38abd06cd6752db5c227083570f72fdb6c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width