Title: Error importing FigureCanvas · Issue #16834 · matplotlib/matplotlib · GitHub
Open Graph Title: Error importing FigureCanvas · Issue #16834 · matplotlib/matplotlib
X Title: Error importing FigureCanvas · Issue #16834 · matplotlib/matplotlib
Description: Bug report After updating to latest version (3.2.1) I started getting this error: # Paste your code here from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas >>>from matplotlib.backends.backend_qt4agg import F...
Open Graph Description: Bug report After updating to latest version (3.2.1) I started getting this error: # Paste your code here from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas >>>from mat...
X Description: Bug report After updating to latest version (3.2.1) I started getting this error: # Paste your code here from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas >>>...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/16834
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error importing FigureCanvas","articleBody":"### Bug report\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\nAfter updating to latest version (3.2.1) I started getting this error:\r\n```python\r\n# Paste your code here\r\nfrom matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas\r\n\u003e\u003e\u003efrom matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas\r\nTraceback (most recent call last):\r\n File \"\u003cpyshell#0\u003e\", line 1, in \u003cmodule\u003e\r\n from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas\r\n File \"C:\\Python37-32\\lib\\site-packages\\matplotlib\\backends\\backend_qt4agg.py\", line 5, in \u003cmodule\u003e\r\n from .backend_qt5agg import (\r\n File \"C:\\Python37-32\\lib\\site-packages\\matplotlib\\backends\\backend_qt5agg.py\", line 11, in \u003cmodule\u003e\r\n from .backend_qt5 import (\r\n File \"C:\\Python37-32\\lib\\site-packages\\matplotlib\\backends\\backend_qt5.py\", line 19, in \u003cmodule\u003e\r\n from .qt_compat import (\r\nImportError: cannot import name '_isdeleted' from 'matplotlib.backends.qt_compat' (C:\\Python37-32\\lib\\site-packages\\matplotlib\\backends\\qt_compat.py)\r\n\r\n```\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\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: Windows 10\r\n * Matplotlib version: 3.2.1\r\n * Matplotlib backend (`print(matplotlib.get_backend())`):TkAgg\r\n * Python version:3.7.6 (32Bit)\r\n * Jupyter version (if applicable):\r\n * Other libraries: \r\naltgraph 0.17\r\nastroid 2.3.3\r\ncolorama 0.4.3\r\ncx-Freeze 6.1\r\ncycler 0.10.0\r\nfuture 0.18.2\r\nisort 4.3.21\r\njoblib 0.14.1\r\nkiwisolver 1.1.0\r\nlazy-object-proxy 1.4.3\r\nmatplotlib 3.2.1\r\nmccabe 0.6.1\r\nmpmath 1.1.0\r\nnumpy 1.18.2+mkl\r\npandas 1.0.3\r\npefile 2019.4.18\r\npip 20.0.2\r\npsutil 5.7.0\r\nPyInstaller 4.0.dev0+d08a42c612\r\npylint 2.4.4\r\npyparsing 2.4.6\r\nPyQt4 4.11.4\r\nPyQt5-sip 12.7.1\r\npython-dateutil 2.8.1\r\npytz 2019.3\r\npywin32-ctypes 0.2.0\r\nscikit-learn 0.22.2.post1\r\nscipy 1.4.1\r\nsetuptools 46.0.0\r\nsix 1.14.0\r\ntailer 0.4.1\r\ntyped-ast 1.4.1\r\nwrapt 1.12.1\r\nxlrd 1.2.0\r\nXlsxWriter 1.2.8\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/xo-HADES-xo","@type":"Person","name":"xo-HADES-xo"},"datePublished":"2020-03-19T15:19:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/16834/matplotlib/issues/16834"}
| 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:f897e62b-c749-014a-de24-783f9e126444 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8586:29681E:181D036:20134AD:6A544498 |
| html-safe-nonce | 5d8e2f323bba0062085af1c6f1fdfe464f91951aa5ad0fc53f528fc3e47d2d9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTg2OjI5NjgxRToxODFEMDM2OjIwMTM0QUQ6NkE1NDQ0OTgiLCJ2aXNpdG9yX2lkIjoiODMwOTk5NTUxMDI2MzIwMjk2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95ca0c77477e3408ae9f08aaf9a14d97816688a5dc00d3fac02ac80fff530f24 |
| hovercard-subject-tag | issue:584488789 |
| 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/16834/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6fd26512b22deb5f175818416ed78aa1c39ab94241a0258abe2dac92704f4d3f/matplotlib/matplotlib/issues/16834 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6fd26512b22deb5f175818416ed78aa1c39ab94241a0258abe2dac92704f4d3f/matplotlib/matplotlib/issues/16834 |
| og:image:alt | Bug report After updating to latest version (3.2.1) I started getting this error: # Paste your code here from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas >>>from mat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xo-HADES-xo |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width