Title: Expose cairo antialiasing abilities · Issue #8784 · matplotlib/matplotlib · GitHub
Open Graph Title: Expose cairo antialiasing abilities · Issue #8784 · matplotlib/matplotlib
X Title: Expose cairo antialiasing abilities · Issue #8784 · matplotlib/matplotlib
Description: Currently, the cairo backend does not support setting antialiasing: #def set_antialiased(self, b): # enable/disable anti-aliasing is not (yet) supported by Cairo This comment is no longer true; in fact many antialiasing modes have been s...
Open Graph Description: Currently, the cairo backend does not support setting antialiasing: #def set_antialiased(self, b): # enable/disable anti-aliasing is not (yet) supported by Cairo This comment is no longer true; in ...
X Description: Currently, the cairo backend does not support setting antialiasing: #def set_antialiased(self, b): # enable/disable anti-aliasing is not (yet) supported by Cairo This comment is no longer true; in ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8784
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose cairo antialiasing abilities","articleBody":"Currently, the cairo backend does not support setting antialiasing:\r\n```\r\n #def set_antialiased(self, b):\r\n # enable/disable anti-aliasing is not (yet) supported by Cairo\r\n```\r\nThis comment is no longer true; in fact many antialiasing modes have been supported for a while (and can be easily set):\r\nhttps://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-antialias\r\nhttps://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t\r\n\r\nThe issue is that True/False is not sufficient to describe the antialiasing modes. Should we, say, allow the user to pass in a string value (\"default\"/\"none\"/\"gray\"/etc.)? Passing a \"native\" cairo value won't work, as they are simply integers (and exposed as such by cairocffi, and as int subclasses by pycairo), and ANTIALIAS_DEFAULT=0 (which includes some antialiasing) and ANTIALIAS_NONE=1, which will conflict with the integer values of False=0, True=1.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2017-06-20T20:47:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/8784/matplotlib/issues/8784"}
| 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:2f12ac74-5e4d-e085-f0ca-d12ec8a82e7a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2CA:1AC175:5F6FCD:7E5BEA:6A5189D7 |
| html-safe-nonce | afe3ebf216b4017d5cc54d21a5d3528a9fc8e774f281ae386ecc13f59f259e9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkNBOjFBQzE3NTo1RjZGQ0Q6N0U1QkVBOjZBNTE4OUQ3IiwidmlzaXRvcl9pZCI6Ijc4NTc3Nzc4NDEwMjY0NjgzMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa83ac289ef9462eebb67d9e8b62d52050b3b4a11cfc9ea7a0244a9b3cd6c658 |
| hovercard-subject-tag | issue:237340309 |
| 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/8784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e185a32401cf9a703733761f2827e4958adb57e08b6142b61e24f337124ded74/matplotlib/matplotlib/issues/8784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e185a32401cf9a703733761f2827e4958adb57e08b6142b61e24f337124ded74/matplotlib/matplotlib/issues/8784 |
| og:image:alt | Currently, the cairo backend does not support setting antialiasing: #def set_antialiased(self, b): # enable/disable anti-aliasing is not (yet) supported by Cairo This comment is no longer true; in ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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 | cb77a7b8b06cd86c243be33fd8e7922d70a9d243 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width