Title: Fix AttributeError: 'QPixmap' object has no attribute 'setDevicePixelRatio' by cgohlke · Pull Request #8559 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix AttributeError: 'QPixmap' object has no attribute 'setDevicePixelRatio' by cgohlke · Pull Request #8559 · matplotlib/matplotlib
X Title: Fix AttributeError: 'QPixmap' object has no attribute 'setDevicePixelRatio' by cgohlke · Pull Request #8559 · matplotlib/matplotlib
Description: Re #8440.
Using matplotlib-2.0.1 with PyQt4‑4.11.4, the example embedding_in_qt4_wtoolbar.py fails:
X:\Python36\lib\site-packages\matplotlib\backends\qt4_compat.py:10: MatplotlibDeprecationWarning: This module has been deprecated in 1.4 in favor of matplotlib.backends.qt_compat
This module will be removed in 1.5, please update your imports.
warnings.warn(_warn_str, mplDeprecation)
Traceback (most recent call last):
File "embedding_in_qt4_wtoolbar.py", line 74, in
Open Graph Description: Re #8440. Using matplotlib-2.0.1 with PyQt4‑4.11.4, the example embedding_in_qt4_wtoolbar.py fails: X:\Python36\lib\site-packages\matplotlib\backends\qt4_compat.py:10: MatplotlibDeprecationWarning:...
X Description: Re #8440. Using matplotlib-2.0.1 with PyQt4‑4.11.4, the example embedding_in_qt4_wtoolbar.py fails: X:\Python36\lib\site-packages\matplotlib\backends\qt4_compat.py:10: MatplotlibDeprecationWarning:...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/8559
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:35343585-ec76-34b9-2a22-d81e4ea82c3a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C64E:3F7705:1D1D59E:27A7694:6A540237 |
| html-safe-nonce | 9e6a43d02ca821d6023bd443c0e42015d0de606566466dc361d5a52c025aca46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjRFOjNGNzcwNToxRDFENTlFOjI3QTc2OTQ6NkE1NDAyMzciLCJ2aXNpdG9yX2lkIjoiNzg2NjcyODE2MjAyOTQ3MDI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5df91f43cee7166ea77fe5e759c1922a17a4494671c6ad86915e92cf8125514c |
| hovercard-subject-tag | pull_request:118488248 |
| 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/8559/files |
| twitter:image | https://avatars.githubusercontent.com/u/483428?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/483428?s=400&v=4 |
| og:image:alt | Re #8440. Using matplotlib-2.0.1 with PyQt4‑4.11.4, the example embedding_in_qt4_wtoolbar.py fails: X:\Python36\lib\site-packages\matplotlib\backends\qt4_compat.py:10: MatplotlibDeprecationWarning:... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 |
| disable-turbo | true |
| 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