{"action":"closed","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12601","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12601/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12601/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12601/events","html_url":"https://github.com/matplotlib/matplotlib/issues/12601","id":373035254,"node_id":"MDU6SXNzdWUzNzMwMzUyNTQ=","number":12601,"title":"Can't import matplotlib","user":{"login":"beojan","id":3727925,"node_id":"MDQ6VXNlcjM3Mjc5MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/3727925?v=4","gravatar_id":"","url":"https://api.github.com/users/beojan","html_url":"https://github.com/beojan","followers_url":"https://api.github.com/users/beojan/followers","following_url":"https://api.github.com/users/beojan/following{/other_user}","gists_url":"https://api.github.com/users/beojan/gists{/gist_id}","starred_url":"https://api.github.com/users/beojan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beojan/subscriptions","organizations_url":"https://api.github.com/users/beojan/orgs","repos_url":"https://api.github.com/users/beojan/repos","events_url":"https://api.github.com/users/beojan/events{/privacy}","received_events_url":"https://api.github.com/users/beojan/received_events","type":"User","site_admin":false},"labels":[{"id":155360,"node_id":"MDU6TGFiZWwxNTUzNjA=","url":"https://api.github.com/repos/matplotlib/matplotlib/labels/Release%20critical","name":"Release critical","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/37","html_url":"https://github.com/matplotlib/matplotlib/milestone/37","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/37/labels","id":3663864,"node_id":"MDk6TWlsZXN0b25lMzY2Mzg2NA==","number":37,"title":"v3.0.x","description":"Bug-fix release branch for 3.0 series\r\n\r\non-merge: safe_backport to v3.0.x","creator":{"login":"tacaswell","id":199813,"node_id":"MDQ6VXNlcjE5OTgxMw==","avatar_url":"https://avatars3.githubusercontent.com/u/199813?v=4","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":149,"state":"open","created_at":"2018-09-18T02:07:11Z","updated_at":"2018-10-24T00:59:02Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-10-23T14:35:57Z","updated_at":"2018-10-24T00:59:02Z","closed_at":"2018-10-24T00:59:02Z","author_association":"NONE","body":"<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.-->\r\n<!--You can feel free to delete the sections that do not apply.-->\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\nImporting matplotlib fails with `ImportError: cannot import name 'get_backend' from 'matplotlib'`.\r\n\r\n**Code for reproduction**\r\n\r\n<!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required-->\r\n\r\n```python\r\nimport matplotlib\r\n```\r\n\r\n**Actual outcome**\r\n\r\n<!--The output produced by the above code, which may be a screenshot, console output, etc.-->\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/lib/python3.7/site-packages/matplotlib/__init__.py\", line 1080, in <module>\r\n    rcParamsOrig = RcParams(rcParams.copy())\r\n  File \"/usr/lib/python3.7/site-packages/matplotlib/__init__.py\", line 870, in __getitem__\r\n    from matplotlib import pyplot as plt\r\n  File \"/usr/lib/python3.7/site-packages/matplotlib/pyplot.py\", line 33, in <module>\r\n    import matplotlib.image\r\n  File \"/usr/lib/python3.7/site-packages/matplotlib/image.py\", line 18, in <module>\r\n    from matplotlib.backend_bases import FigureCanvasBase\r\n  File \"/usr/lib/python3.7/site-packages/matplotlib/backend_bases.py\", line 46, in <module>\r\n    from matplotlib import (\r\nImportError: cannot import name 'get_backend' from 'matplotlib' (/usr/lib/python3.7/site-packages/matplotlib/__init__.py)\r\n```\r\n\r\n**Expected outcome**\r\n\r\nMatplotlib is imported\r\n\r\n**Matplotlib version**\r\n<!--Please specify your platform and versions of the relevant libraries you are using:-->\r\n  * Operating system: GNU/Linux\r\n  * Matplotlib version: 3.0 git master\r\n  * Python version: 3.7.1\r\n\r\nPython from Arch repo, matplotlib from git master.\r\n"}}
{"actor":{"display_login":"tacaswell"}}