MNT: Make useblit a property in Widget classes by tacaswell · Pull Request #30605 · matplotlib/matplotlib · GitHub
Skip to content

MNT: Make useblit a property in Widget classes - #30605

Closed
tacaswell wants to merge 1 commit into
matplotlib:mainfrom
tacaswell:mnt/widget_canvas_caution
Closed

tacaswell wants to merge 1 commit into
matplotlib:mainfrom
tacaswell:mnt/widget_canvas_caution

Conversation

@tacaswell

Copy link
Copy Markdown
Member

The goal is to skip trying to do anything with blitting when after the figure is closed a blitting-capable Canvas instance is swapped out for one that does not support blitting.

closes #30575 but in only a partial solution to the bigger issues with blitting and changing the canvas.

PR summary

Attempts to make useblit dynamic (and standardiizes it across all of the widget classes)

Not tested with MNE's case and have not sorted out a MWE to add a test.

PR checklist

The goal is to skip trying to do anything with blitting when
after the figure is closed a blitting-capable Canvas instance is
swapped out for one that does not support blitting.

closes matplotlib#30575 but in only a partial solution to the bigger issues
with blitting and changing the canvas.
@timhoffm

timhoffm commented Oct 3, 2025

Copy link
Copy Markdown
Member

@tacaswell

Copy link
Copy Markdown
Member Author

@tacaswell tacaswell closed this Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Regression in widget behavior

2 participants