Title: WXCairo backend not rendering nicely on retina · Issue #18050 · matplotlib/matplotlib · GitHub
Open Graph Title: WXCairo backend not rendering nicely on retina · Issue #18050 · matplotlib/matplotlib
X Title: WXCairo backend not rendering nicely on retina · Issue #18050 · matplotlib/matplotlib
Description: When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size). Matplotlib version: 3.3.0 Python version: ...
Open Graph Description: When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size). Ma...
X Description: When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size). Ma...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/18050
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WXCairo backend not rendering nicely on retina","articleBody":"When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size).\r\n\r\nMatplotlib version: 3.3.0\r\nPython version: 3.7.7\r\nPlatform: OSX (macOS Catalina 10.15.5)\r\n\r\n**Plot using standard macosx backend (no embedding) renders nicely:**\r\n\u003cimg width=\"752\" alt=\"Screen Shot 2020-07-24 at 4 58 51 PM\" src=\"https://user-images.githubusercontent.com/50967281/88405025-f8d6b880-cdce-11ea-86e9-48da70e54e6d.png\"\u003e\r\n\r\n\r\n**Plot using the WXCairo backend (embed inside WX.Panel) renders ugly:**\r\n\u003cimg width=\"802\" alt=\"Screen Shot 2020-07-24 at 5 01 31 PM\" src=\"https://user-images.githubusercontent.com/50967281/88405300-5834c880-cdcf-11ea-92b8-f8f80f3b2930.png\"\u003e\r\n\r\nAs you can see, the embedded plot is rendered ugly (zoom in):\r\n\u003cimg width=\"786\" alt=\"Screen Shot 2020-07-24 at 5 04 14 PM\" src=\"https://user-images.githubusercontent.com/50967281/88405562-c083aa00-cdcf-11ea-8182-8149ac4d3576.png\"\u003e\r\n\r\nIs this the same issue as when using the Agg backend, where Apple by default scales all the applications by drawing each pixel in the underlying application as a 2x2 grid on the screen?\r\nI planned to change my application to use the Cairo mpl bakcend instead of Agg mpl backend, but the problem remains...\r\nAny ideas or workarounds?\r\n","author":{"url":"https://github.com/eliclement","@type":"Person","name":"eliclement"},"datePublished":"2020-07-24T15:09:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/18050/matplotlib/issues/18050"}
| 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:6a2ee44c-3347-13ca-58a3-ad4252dff7be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B954:30A1AE:1E6854D:28BCA7B:6A545EE5 |
| html-safe-nonce | 8b2c43948ff6c88d6aadf334586dcde90b7a6c03c8218b3c3f97831b37b9f580 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTU0OjMwQTFBRToxRTY4NTREOjI4QkNBN0I6NkE1NDVFRTUiLCJ2aXNpdG9yX2lkIjoiODYyNjEwMTk0MjE1Mjg3OTg0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92e8a27cf267fa21814d550b7bd96d031a94498a9435d1ec6e0a6cc828a48367 |
| hovercard-subject-tag | issue:665233193 |
| 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/18050/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac28880cc939c6760ac131265eff971ef2e6ab6ef6a51a113ea133c7156f0103/matplotlib/matplotlib/issues/18050 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac28880cc939c6760ac131265eff971ef2e6ab6ef6a51a113ea133c7156f0103/matplotlib/matplotlib/issues/18050 |
| og:image:alt | When embedding a matplotlib plot in a WX.Panel, the figure_canvas is not rendered nicely on a Mac retina display. Increasing the dpi of the figure does not help (it only alters the figure size). Ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eliclement |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width