Title: [Bug]: RadioButtons should be circular, not elliptic · Issue #24428 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: RadioButtons should be circular, not elliptic · Issue #24428 · matplotlib/matplotlib
X Title: [Bug]: RadioButtons should be circular, not elliptic · Issue #24428 · matplotlib/matplotlib
Description: Bug summary RadioButtons are drawn as Circles in transAxes space, which means that as soon as the containing Axes is not equal-aspect, they will actually be elliptical, not circular. In order to fix this, either the parent axes must be f...
Open Graph Description: Bug summary RadioButtons are drawn as Circles in transAxes space, which means that as soon as the containing Axes is not equal-aspect, they will actually be elliptical, not circular. In order to fi...
X Description: Bug summary RadioButtons are drawn as Circles in transAxes space, which means that as soon as the containing Axes is not equal-aspect, they will actually be elliptical, not circular. In order to fi...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: RadioButtons should be circular, not elliptic","articleBody":"### Bug summary\n\nRadioButtons are drawn as Circles in transAxes space, which means that as soon as the containing Axes is not equal-aspect, they will actually be elliptical, not circular.\r\nIn order to fix this, either the parent axes must be forced to be equal-aspect (we already remove the ticks and the navigatability, so more configuration *may* be OK), or we should use add functionality to Circle so that the center and the radius can be in different transform systems (center in transAxes, radius in pixels) -- or abuse scatter() instead to draw the radiobuttons (but this would break the `radiobuttons.circles` attribute).\n\n### Code for reproduction\n\n```python\nhttps://matplotlib.org/stable/gallery/widgets/radio_buttons.html\r\nand make the window much wider than tall\n```\n\n\n### Actual outcome\n\nradio buttons are elliptical\n\n### Expected outcome\n\nradio buttons stay circular\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nfedora37\n\n### Matplotlib Version\n\n3.7.0.dev619+g3d6c3da884\n\n### Matplotlib Backend\n\nany\n\n### Python version\n\n3.10\n\n### Jupyter version\n\nENOSUCHLIB\n\n### Installation\n\ngit checkout","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2022-11-11T12:16:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/24428/matplotlib/issues/24428"}
| 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:cae836ea-2a8d-3104-c958-b0cf4850015a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BE8:2804AF:72A012:9D1E9A:6A525A39 |
| html-safe-nonce | a63b44adaa698a7ecbe25e9ad56414416fb2880c319e3d82afa133359522c7bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkU4OjI4MDRBRjo3MkEwMTI6OUQxRTlBOjZBNTI1QTM5IiwidmlzaXRvcl9pZCI6Ijc3NzEyODA5MTkxMjY3NTk5OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0df41efa5a700429e6cc7bb5fbe5533b18336b4de0395cca7852586b6d21d980 |
| hovercard-subject-tag | issue:1445392039 |
| 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/24428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c537894984f87f18f1722fa9ea42bb25fbd6ecccb48bde2a5eb3ab9eca4935b2/matplotlib/matplotlib/issues/24428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c537894984f87f18f1722fa9ea42bb25fbd6ecccb48bde2a5eb3ab9eca4935b2/matplotlib/matplotlib/issues/24428 |
| og:image:alt | Bug summary RadioButtons are drawn as Circles in transAxes space, which means that as soon as the containing Axes is not equal-aspect, they will actually be elliptical, not circular. In order to fi... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width