Title: [Bug]: CheckBoxes should be square, not rectangular · Issue #24471 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: CheckBoxes should be square, not rectangular · Issue #24471 · matplotlib/matplotlib
X Title: [Bug]: CheckBoxes should be square, not rectangular · Issue #24471 · matplotlib/matplotlib
Description: Bug summary In #24428 I noted that RadioButtons used to be elliptical, and I fixed that in #24455 to make them circular while only emitting a deprecation warning if users tried to access the .circles attribute (and even then, they direct...
Open Graph Description: Bug summary In #24428 I noted that RadioButtons used to be elliptical, and I fixed that in #24455 to make them circular while only emitting a deprecation warning if users tried to access the .circl...
X Description: Bug summary In #24428 I noted that RadioButtons used to be elliptical, and I fixed that in #24455 to make them circular while only emitting a deprecation warning if users tried to access the .circl...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24471
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: CheckBoxes should be square, not rectangular","articleBody":"### Bug summary\n\nIn #24428 I noted that RadioButtons used to be elliptical, and I fixed that in #24455 to make them circular while only emitting a deprecation warning if users tried to access the `.circles` attribute (and even then, they directly go back to the old behavior).\r\n\r\nCheckButtons have the same issue: they are rectangular if the parent axes is not square. This issue can (most likely) be fixed in exactly the same manner as #24455 (see https://github.com/matplotlib/matplotlib/issues/24428#issuecomment-1314952906), preferably again keeping the backcompat layer and making things transparent to end users who don't try to access individual artists.\r\n\r\nTagging as good first issue it should(?) mostly be doing the same thing as #24455, but medium difficulty as you need to wrangle a bit with artists and transforms.\n\n### Code for reproduction\n\n```python\nhttps://matplotlib.org/stable/gallery/widgets/check_buttons.html and make the window very wide\n```\n\n\n### Actual outcome\n\nCheckboxes become rectangular.\n\n### Expected outcome\n\nThey stay square.\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nany\n\n### Matplotlib Version\n\n3.7.0.dev691+g218cdffb53\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-15T22:19:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/24471/matplotlib/issues/24471"}
| 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:cd68d91e-4b0b-9d48-75a1-5982036b71ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A434:36D045:3E2F5:51446:6A52BBF3 |
| html-safe-nonce | d945ce50fbe3782267c9c55d4e087f9d345eac9c8e4492358e79b372557e0e54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDM0OjM2RDA0NTozRTJGNTo1MTQ0Njo2QTUyQkJGMyIsInZpc2l0b3JfaWQiOiIyMzY0NTg4NDQ4MzkwNzU3MzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5924f7048d5b411a2f00f0d772a6f1bf39ea7714e0f2c59f73b37d219d87002b |
| hovercard-subject-tag | issue:1450456435 |
| 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/24471/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f542413f25aad684de552a2f2a8ae9671771d65a09324106dcf6e20c7d4ae71e/matplotlib/matplotlib/issues/24471 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f542413f25aad684de552a2f2a8ae9671771d65a09324106dcf6e20c7d4ae71e/matplotlib/matplotlib/issues/24471 |
| og:image:alt | Bug summary In #24428 I noted that RadioButtons used to be elliptical, and I fixed that in #24455 to make them circular while only emitting a deprecation warning if users tried to access the .circl... |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width