Title: Improve resolution of canvas on HiDPI with PyQt5 backend · Issue #4977 · matplotlib/matplotlib · GitHub
Open Graph Title: Improve resolution of canvas on HiDPI with PyQt5 backend · Issue #4977 · matplotlib/matplotlib
X Title: Improve resolution of canvas on HiDPI with PyQt5 backend · Issue #4977 · matplotlib/matplotlib
Description: One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage of this: PyQt4: PyQt5: MacOS X: Note that Mac...
Open Graph Description: One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage of th...
X Description: One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage o...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4977
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve resolution of canvas on HiDPI with PyQt5 backend","articleBody":"One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage of this:\r\n\r\n**PyQt4**:\r\n\r\n\u003cimg width=\"400\" alt=\"pyqt4\" src=\"https://cloud.githubusercontent.com/assets/314716/9424369/b9e13a74-48ea-11e5-830e-92297a819ec7.png\"\u003e\r\n\r\n**PyQt5:**\r\n\r\n\u003cimg width=\"400\" alt=\"pyqt5\" src=\"https://cloud.githubusercontent.com/assets/314716/9424370/bb565b8c-48ea-11e5-88f7-c2346a645018.png\"\u003e\r\n\r\n**MacOS X**:\r\n\r\nNote that MacOS X does take advantage of the HiDPI display, though the _icons_ are still low-res\r\n\r\n\u003cimg width=\"400\" alt=\"osx\" src=\"https://cloud.githubusercontent.com/assets/314716/9424359/12ac4b9a-48ea-11e5-942b-16f64f5df12b.png\"\u003e\r\n\r\nInterestingly, the low resolution pixels in the PyQt5 example look crisper which suggests that it might be rendered at HiDPI but the content of the canvas is low resolution.\r\n\r\nSo just to clarify, I think there are two issues here:\r\n- The icons themselves are not HiDPI-friendly (as seen in the MacOS X screenshot) [update: have opened an issue for that: #4978]\r\n- Matplotlib is not taking advantage of the HiDPI with the PyQt5 canvas\r\n","author":{"url":"https://github.com/astrofrog","@type":"Person","name":"astrofrog"},"datePublished":"2015-08-22T14:02:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/4977/matplotlib/issues/4977"}
| 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:5d626cb0-f17b-b9c8-6fc6-b64160fb7734 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B186:2A0782:1B5659D:252E8B5:6A5372E1 |
| html-safe-nonce | 4c04f4a990f40732f3e394b02b8acbed1205174aa44a439c14db1ee1a8c3ec10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTg2OjJBMDc4MjoxQjU2NTlEOjI1MkU4QjU6NkE1MzcyRTEiLCJ2aXNpdG9yX2lkIjoiMTIxMDc5OTgzNzEzMTUzNTA3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a66d04bdf7c29b38dc09a4b03f93b0ab82b823bf6ae3df06205dd27f4d931941 |
| hovercard-subject-tag | issue:102539228 |
| 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/4977/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b959438f157e4c6974e72343b5c167297bce19bdff754fd9c0169c6f961efde/matplotlib/matplotlib/issues/4977 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b959438f157e4c6974e72343b5c167297bce19bdff754fd9c0169c6f961efde/matplotlib/matplotlib/issues/4977 |
| og:image:alt | One of the nice things about Qt5 (as far as I understand) is that it provides better support for HiDPI (retina) displays, but at the moment it doesn't look like Matplotlib is taking advantage of th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | astrofrog |
| 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