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

Use cleaner recursion check in PyQt FigureCanvas' resizeEvent.#23729

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

Merged
tacaswell merged 1 commit intomatplotlib:mainfromanthepro:resizeeventfix
Aug 24, 2022

Conversation

anthepro
Copy link
Contributor

As suggested in issue#22409, using sys._getframe can lead to a memory leak which then causes PyQt to send the wrong event type. This solves the issue by and using a cleaner solution which avoids sys._getframe for determining recursion.

Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping@matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@tacaswelltacaswell added this to thev3.6.0 milestoneAug 24, 2022
@tacaswelltacaswell merged commitb4f88e8 intomatplotlib:mainAug 24, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 24, 2022
@tacaswell
Copy link
Member

Thank you@anthepro for this PR and tracking down the underlying problem!

Congratulations on your first merged Matplotlib PR 🎉 Hopefully we will hear from you again!

QuLogic added a commit that referenced this pull requestAug 25, 2022
…729-on-v3.6.xBackport PR#23729 on branch v3.6.x (Use cleaner recursion check in PyQt FigureCanvas' resizeEvent.)
@antheproanthepro deleted the resizeeventfix branchAugust 25, 2022 07:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@anntzeranntzeranntzer approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.6.0
Development

Successfully merging this pull request may close these issues.

3 participants
@anthepro@tacaswell@anntzer

[8]ページ先頭

©2009-2025 Movatter.jp