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

DOC: we do not need the blit call in on_draw#28231

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
timhoffm merged 1 commit intomatplotlib:mainfromtacaswell:doc/fix_path_editor
May 16, 2024

Conversation

@tacaswell
Copy link
Member

on_draw is triggered via the draw_event callback which is processed after the rest of the rendering in finished, but before the buffer is painted to the screen so theblit call was at best redundent (causing two copies of the buffer from our side to the GUI side) and at worst causes segfaults in some versions of Qt.

Closes#28002

on_draw is triggered via the draw_event callback which is processed after therest of the rendering in finished, but before the buffer is painted to thescreen so the `blit` call was at best redundent (causing two copies of thebuffer from our side to the GUI side) and at worst causes segfaults in someversions of Qt.Closesmatplotlib#28002
@tacaswelltacaswell added this to thev3.9.1 milestoneMay 15, 2024
@github-actionsgithub-actionsbot added the Documentation: examplesfiles in galleries/examples labelMay 15, 2024
@timhoffmtimhoffm merged commit9735c78 intomatplotlib:mainMay 16, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMay 16, 2024
QuLogic added a commit that referenced this pull requestMay 16, 2024
…231-on-v3.9.xBackport PR#28231 on branch v3.9.x (DOC: we do not need the blit call in on_draw)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

Assignees

No one assigned

Labels

Documentation: examplesfiles in galleries/examples

Projects

None yet

Milestone

v3.9.1

Development

Successfully merging this pull request may close these issues.

Segfault from path editor example with QtAgg

2 participants

@tacaswell@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp