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

Fix: have apply_aspect keep track of user-set limits#30265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rcomer wants to merge1 commit intomatplotlib:main
base:main
Choose a base branch
Loading
fromrcomer:aspect-fixed-lims

Conversation

rcomer
Copy link
Member

PR summary

Possiblycloses#30230, though I'm unsure if it's a bit too hacky.

Introduce new private attributes so thatapply_aspect can keep track of the previously set x/y-bounds. These attributes get reset whenset_xlim/set_ylim are called, so further user updates to the limits are respected.

I ran the code from#30230 (comment) and messed about with the window shape. Everything seems fine.

If this seems good to others, I will add a test.

PR checklist

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[BUG]: Neither explicit data limit is respected whenconstrained_layout is used together withset_aspect(..., "datalim")
1 participant
@rcomer

[8]ページ先頭

©2009-2025 Movatter.jp