Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Declare free-threaded support in MacOS backend extension #29810

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

ngoldbaum
Copy link
Contributor

See #28611 (comment) for context.

Copy link
Contributor

@greglucas greglucas left a comment

Choose a reason for hiding this comment

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

I tested this out on a mac and this does get rid of the GIL warning and everything works as expected.

Also as an FYI, I tested this with multiple windows trying to resize/zoom/pan between them and all of that state seemed good to me.

I also ran the threading example from here: #5675 (comment), updating data in background threads and that also played nicely with resizing/interactiveness and the free-threaded build. So I think we are at least OK with reasonable expectations for now. It will be good to get people hammering this a bit more and more exotic use-cases to be tested out.

edit: I also just added constrained_layout to test our interaction with kiwisolver's free threaded capability and that works nicely too.

@greglucas greglucas merged commit bfbd0b5 into matplotlib:main Mar 27, 2025
40 of 41 checks passed
@QuLogic QuLogic added this to the v3.11.0 milestone Mar 27, 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.

3 participants