Title: qt5agg image quality changes when window is out of focus · Issue #13012 · matplotlib/matplotlib · GitHub
Open Graph Title: qt5agg image quality changes when window is out of focus · Issue #13012 · matplotlib/matplotlib
X Title: qt5agg image quality changes when window is out of focus · Issue #13012 · matplotlib/matplotlib
Description: Bug report Bug summary Quality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus. Code for reproduction import matplotlib.pypot as plt plt.plot([1, 2, 3, 4], [5, 5.5, 6.5, 8.5], alpha=...
Open Graph Description: Bug report Bug summary Quality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus. Code for reproduction import matplotlib.pypot as plt plt.plot(...
X Description: Bug report Bug summary Quality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus. Code for reproduction import matplotlib.pypot as plt plt.plot(...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/13012
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"qt5agg image quality changes when window is out of focus","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nQuality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus.\r\n\r\n**Code for reproduction**\r\n\r\n\r\n```python\r\nimport matplotlib.pypot as plt\r\nplt.plot([1, 2, 3, 4], [5, 5.5, 6.5, 8.5], alpha=0.5)\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\r\n\r\nSwitch to different window and back:\r\n\r\n\r\nAt this stage, calling `plt.draw()` fixes it till the window goes out of focus. Zooming in on the figure also returns it to the earlier quality. Note that transparency is lost.\r\n\r\n**Expected outcome**\r\n\r\nRendering doesn't change.\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: Ubuntu 16.04\r\n * Matplotlib version: 3.0.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg\r\n * Python version: 3.6.7\r\n * Jupyter version (if applicable): console 6.0.0\r\n * Other libraries: pyqt 5.6.0 py36h8210e8a_7 conda-forge\r\n\r\n\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\neverything installed from conda-forge using conda.","author":{"url":"https://github.com/dcherian","@type":"Person","name":"dcherian"},"datePublished":"2018-12-17T22:02:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/13012/matplotlib/issues/13012"}
| 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:2a64a515-965d-4251-b3a1-07c1491958bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9308:1D28F7:52396F:707ACE:6A524FE5 |
| html-safe-nonce | 24120c8152033113a578a7a56f7b004eb0825cebd273a7d392eee32c0d186dfc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzA4OjFEMjhGNzo1MjM5NkY6NzA3QUNFOjZBNTI0RkU1IiwidmlzaXRvcl9pZCI6IjY1OTcwOTMyNzkwOTA3NTc2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2b553d821c1be633adc4345240df27c2775772f3d8bd1f02bb273e46b7db12db |
| hovercard-subject-tag | issue:391908239 |
| 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/13012/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e7b5c96c41ed5d2de7f94fdc653d7a473ce3a8befc5b3e6756acf5a191315bb/matplotlib/matplotlib/issues/13012 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e7b5c96c41ed5d2de7f94fdc653d7a473ce3a8befc5b3e6756acf5a191315bb/matplotlib/matplotlib/issues/13012 |
| og:image:alt | Bug report Bug summary Quality of qt rendered figures is drastically reduced when window is moved out of focus and then back in focus. Code for reproduction import matplotlib.pypot as plt plt.plot(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dcherian |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width