Title: mpl2.0.1 seems to have broken Qt4Agg · Issue #8563 · matplotlib/matplotlib · GitHub
Open Graph Title: mpl2.0.1 seems to have broken Qt4Agg · Issue #8563 · matplotlib/matplotlib
X Title: mpl2.0.1 seems to have broken Qt4Agg · Issue #8563 · matplotlib/matplotlib
Description: mpl2.0 was OK This is fedora 25 mpl updated via pip python3.5.2 switch to Qt5Agg works import numpy as np import matplotlib.pyplot as plt plt.plot (np.arange(10)) plt.show() python3 ./test_mpl.py Traceback (most recent call last): File "...
Open Graph Description: mpl2.0 was OK This is fedora 25 mpl updated via pip python3.5.2 switch to Qt5Agg works import numpy as np import matplotlib.pyplot as plt plt.plot (np.arange(10)) plt.show() python3 ./test_mpl.py T...
X Description: mpl2.0 was OK This is fedora 25 mpl updated via pip python3.5.2 switch to Qt5Agg works import numpy as np import matplotlib.pyplot as plt plt.plot (np.arange(10)) plt.show() python3 ./test_mpl.py T...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8563
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mpl2.0.1 seems to have broken Qt4Agg","articleBody":"mpl2.0 was OK\r\nThis is fedora 25\r\nmpl updated via pip\r\npython3.5.2\r\nswitch to Qt5Agg works\r\n\r\n```\r\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\nplt.plot (np.arange(10))\r\nplt.show()\r\n```\r\n\r\n python3 ./test_mpl.py \r\nTraceback (most recent call last):\r\n File \"./test_mpl.py\", line 3, in \u003cmodule\u003e\r\n plt.plot (np.arange(10))\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 3306, in plot\r\n ax = gca()\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 950, in gca\r\n return gcf().gca(**kwargs)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 586, in gcf\r\n return figure()\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/pyplot.py\", line 535, in figure\r\n **kwargs)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt4agg.py\", line 46, in new_figure_manager\r\n return new_figure_manager_given_figure(num, thisFig)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt4agg.py\", line 54, in new_figure_manager_given_figure\r\n return FigureManagerQT(canvas, num)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py\", line 488, in __init__\r\n self.toolbar = self._get_toolbar(self.canvas, self.window)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py\", line 539, in _get_toolbar\r\n toolbar = NavigationToolbar2QT(canvas, parent, False)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py\", line 585, in __init__\r\n NavigationToolbar2.__init__(self, canvas)\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backend_bases.py\", line 2760, in __init__\r\n self._init_toolbar()\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py\", line 601, in _init_toolbar\r\n a = self.addAction(self._icon(image_file + '.png'),\r\n File \"/home/nbecker/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5.py\", line 591, in _icon\r\n pm.setDevicePixelRatio(self.canvas._dpi_ratio)\r\nAttributeError: 'QPixmap' object has no attribute 'setDevicePixelRatio'\r\n","author":{"url":"https://github.com/nbecker","@type":"Person","name":"nbecker"},"datePublished":"2017-05-03T14:01:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8563/matplotlib/issues/8563"}
| 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:999ca34a-8ea8-51e0-2e1a-88ee53fce0c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3E2:3A03DF:21B58BB:2E0FF51:6A54215C |
| html-safe-nonce | eec347f181084f6b211275f46d844fd3c8ecc7bb13cf61eeb19c4e78727c1929 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0UyOjNBMDNERjoyMUI1OEJCOjJFMEZGNTE6NkE1NDIxNUMiLCJ2aXNpdG9yX2lkIjoiMjY5MDY4MjI2ODM4MTYxODUyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5cd762dda9ef25930dcef8e89a2153a7797ef3f7222547fd2ef215fa671a85ef |
| hovercard-subject-tag | issue:225996290 |
| 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/8563/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c56f6985f7321b2bb410457d8a72cd50adfd0d0ca5d8d86597c495d7a14b84b2/matplotlib/matplotlib/issues/8563 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c56f6985f7321b2bb410457d8a72cd50adfd0d0ca5d8d86597c495d7a14b84b2/matplotlib/matplotlib/issues/8563 |
| og:image:alt | mpl2.0 was OK This is fedora 25 mpl updated via pip python3.5.2 switch to Qt5Agg works import numpy as np import matplotlib.pyplot as plt plt.plot (np.arange(10)) plt.show() python3 ./test_mpl.py T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbecker |
| 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