Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: CheckBoxes should be square, not rectangular #24471

Closed
Labels
Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!topic: widgets/UI
Milestone
@anntzer

Description

@anntzer

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 directly go back to the old behavior).

CheckButtons 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#24428 (comment)), preferably again keeping the backcompat layer and making things transparent to end users who don't try to access individual artists.

Tagging 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.

Code for reproduction

https://matplotlib.org/stable/gallery/widgets/check_buttons.htmlandmakethewindowverywide

Actual outcome

Checkboxes become rectangular.

Expected outcome

They stay square.

Additional information

No response

Operating system

any

Matplotlib Version

3.7.0.dev691+g218cdffb53

Matplotlib Backend

any

Python version

3.10

Jupyter version

ENOSUCHLIB

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Mediumhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!topic: widgets/UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp