René's URL Explorer Experiment


Title: BUG: raise when creating a MacOS FigureManager outside the main thread by ngoldbaum · Pull Request #30697 · matplotlib/matplotlib · GitHub

Open Graph Title: BUG: raise when creating a MacOS FigureManager outside the main thread by ngoldbaum · Pull Request #30697 · matplotlib/matplotlib

X Title: BUG: raise when creating a MacOS FigureManager outside the main thread by ngoldbaum · Pull Request #30697 · matplotlib/matplotlib

Description: Fixes #30666 Currently matplotlib will crash due to an uncaught NSException if a worker thread tries to create a GUI window. Only the main thread can create GUIs in Cocoa. This is documented in the...

Open Graph Description: Fixes #30666 Currently matplotlib will crash due to an uncaught NSException if a worker thread tries to create a GUI window. Only the main thread can create GUIs in Cocoa. This is documented in the...

X Description: Fixes #30666 Currently matplotlib will crash due to an uncaught NSException if a worker thread tries to create a GUI window. Only the main thread can create GUIs in Cocoa. This is documented in the...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/30697

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f3030c13-a5ee-2a7d-da04-1c0a144c57e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B60:1FC192:ADEA8:EFC37:6969F86F
html-safe-noncea5563f93ab4c2a1ee7436c622f13519669172472bb06c2922807a16bf946f3e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjYwOjFGQzE5MjpBREVBODpFRkMzNzo2OTY5Rjg2RiIsInZpc2l0b3JfaWQiOiIyNzE1OTI2MDIzMjg0OTYyMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf9b317b4605e75ca441af30fb6356b23b3ca7de3e3c000479ae899ebc4b8743
hovercard-subject-tagpull_request:2956230989
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/30697/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/051fc20b552218399eaef06ae1f18f5fa2ce8697934de1956dfa9edf9622e321/matplotlib/matplotlib/pull/30697
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/051fc20b552218399eaef06ae1f18f5fa2ce8697934de1956dfa9edf9622e321/matplotlib/matplotlib/pull/30697
og:image:altFixes #30666 Currently matplotlib will crash due to an uncaught NSException if a worker thread tries to create a GUI window. Only the main thread can create GUIs in Cocoa. This is documented in the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamengoldbaum
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/30697/#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30697%2F
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30697%2F
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/30697/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30697/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30697/
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 22.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 401 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects 2 https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/matplotlib/matplotlib/security
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/matplotlib/matplotlib/pull/30697/#issue-comment-box
greglucashttps://github.com/greglucas
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ngoldbaum:fix-plotting-on-worker-threadshttps://github.com/ngoldbaum/matplotlib/tree/fix-plotting-on-worker-threads
BUG: raise when creating a MacOS FigureManager outside the main thread https://github.com/matplotlib/matplotlib/pull/30697/#top
greglucashttps://github.com/greglucas
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ngoldbaum:fix-plotting-on-worker-threadshttps://github.com/ngoldbaum/matplotlib/tree/fix-plotting-on-worker-threads
Conversation 7 https://github.com/matplotlib/matplotlib/pull/30697
Commits 2 https://github.com/matplotlib/matplotlib/pull/30697/commits
Checks 43 https://github.com/matplotlib/matplotlib/pull/30697/checks
Files changed https://github.com/matplotlib/matplotlib/pull/30697/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/30697/{{ revealButtonHref }}
https://github.com/ngoldbaum
ngoldbaumhttps://github.com/ngoldbaum
Oct 28, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issue-3562745059
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
#30666https://github.com/matplotlib/matplotlib/issues/30666
in the Cocoa docshttps://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html
#30666https://github.com/matplotlib/matplotlib/issues/30666
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/ngoldbaum
BUG: raise when creating a MacOS FigureManager outside the main threadhttps://github.com/matplotlib/matplotlib/pull/30697/commits/060fa0035b023044d1b85aee83684e8ca01bf4c2
060fa00https://github.com/matplotlib/matplotlib/pull/30697/commits/060fa0035b023044d1b85aee83684e8ca01bf4c2
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
GUI: MacOSX https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20MacOSX%22
Oct 28, 2025https://github.com/matplotlib/matplotlib/pull/30697/#event-20560816813
https://github.com/ngoldbaum
ngoldbaumhttps://github.com/ngoldbaum
Oct 28, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#ref-issue-3537827044
[Bug]: calling pyplot.gca() outside the main thread crashes the interpreter with the MacOS backend #30666 https://github.com/matplotlib/matplotlib/issues/30666
https://github.com/ngoldbaum
ngoldbaumhttps://github.com/ngoldbaum
Oct 28, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3457951414
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/ngoldbaum
ngoldbaumhttps://github.com/ngoldbaum
Oct 28, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3458017950
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Oct 28, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3458318026
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Oct 29, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3459226788
#30624https://github.com/matplotlib/matplotlib/pull/30624
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
v3.10.8https://github.com/matplotlib/matplotlib/milestone/106
Oct 29, 2025https://github.com/matplotlib/matplotlib/pull/30697/#event-20569535293
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Oct 30, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#pullrequestreview-3397045639
View reviewed changes https://github.com/matplotlib/matplotlib/pull/30697/files/060fa0035b023044d1b85aee83684e8ca01bf4c2
lib/matplotlib/tests/test_backend_macosx.pyhttps://github.com/matplotlib/matplotlib/pull/30697/files/060fa0035b023044d1b85aee83684e8ca01bf4c2#diff-d995c2455fc40d708d905f0ecaba3e207a377a38bac0d8883e2474825f14af9f
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/ngoldbaum
TST: run test that might crash in a subprocesshttps://github.com/matplotlib/matplotlib/pull/30697/commits/3c503dffa4197d90c7aa03c7c201b256e23cc701
3c503dfhttps://github.com/matplotlib/matplotlib/pull/30697/commits/3c503dffa4197d90c7aa03c7c201b256e23cc701
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Oct 30, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#pullrequestreview-3401480657
View reviewed changes https://github.com/matplotlib/matplotlib/pull/30697/files/3c503dffa4197d90c7aa03c7c201b256e23cc701
https://github.com/greglucas
greglucashttps://github.com/greglucas
Oct 31, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#pullrequestreview-3403961847
View reviewed changes https://github.com/matplotlib/matplotlib/pull/30697/files/3c503dffa4197d90c7aa03c7c201b256e23cc701
https://github.com/greglucas
greglucashttps://github.com/greglucas
Oct 31, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3472800280
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/greglucas
greglucashttps://github.com/greglucas
94def4ehttps://github.com/matplotlib/matplotlib/commit/94def4ee50ce92ce96461f269e0c79c188588610
Oct 31, 2025https://github.com/matplotlib/matplotlib/pull/30697#event-20632774620
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Oct 31, 2025https://github.com/matplotlib/matplotlib/pull/30697/#issuecomment-3472802338
#30697https://github.com/matplotlib/matplotlib/pull/30697
suggest an improvementhttps://github.com/MeeseeksBox/MeeseeksDev
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Oct 31, 2025https://github.com/matplotlib/matplotlib/pull/30697/#event-20632782312
ngoldbaumhttps://github.com/ngoldbaum
Oct 31, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#ref-commit-549a613
https://github.com/greglucas
https://github.com/ngoldbaum
Backport PRhttps://github.com/ngoldbaum/matplotlib/commit/549a6136bd7fdb002cb9552405932e6d11307af6
matplotlib#30697https://github.com/matplotlib/matplotlib/pull/30697
on branch v3.10.x (BUG: raise when creat…https://github.com/ngoldbaum/matplotlib/commit/549a6136bd7fdb002cb9552405932e6d11307af6
549a613https://github.com/ngoldbaum/matplotlib/commit/549a6136bd7fdb002cb9552405932e6d11307af6
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Oct 31, 2025https://github.com/matplotlib/matplotlib/pull/30697/#event-20641645645
ngoldbaumhttps://github.com/ngoldbaum
Oct 31, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#ref-commit-134000b
https://github.com/greglucas
https://github.com/ngoldbaum
Merge pull requesthttps://github.com/ngoldbaum/matplotlib/commit/134000ba19a4354da2ad1084627039e05c936754
matplotlib#30697https://github.com/matplotlib/matplotlib/pull/30697
from ngoldbaum/fix-plotting-on-wo…https://github.com/ngoldbaum/matplotlib/commit/134000ba19a4354da2ad1084627039e05c936754
134000bhttps://github.com/ngoldbaum/matplotlib/commit/134000ba19a4354da2ad1084627039e05c936754
94def4ehttps://github.com/ngoldbaum/matplotlib/commit/94def4ee50ce92ce96461f269e0c79c188588610
QuLogichttps://github.com/QuLogic
Nov 1, 2025 https://github.com/matplotlib/matplotlib/pull/30697/#ref-commit-799bc95
https://github.com/QuLogic
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/799bc9561daea5b5578f888817cb45c9321a0463
#30711https://github.com/matplotlib/matplotlib/pull/30711
from ngoldbaum/v3.10.xhttps://github.com/matplotlib/matplotlib/commit/799bc9561daea5b5578f888817cb45c9321a0463
799bc95https://github.com/matplotlib/matplotlib/commit/799bc9561daea5b5578f888817cb45c9321a0463
#30697https://github.com/matplotlib/matplotlib/pull/30697
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30697%2F
https://github.com/QuLogic
QuLogic https://github.com/QuLogic
https://github.com/matplotlib/matplotlib/pull/30697/files/3c503dffa4197d90c7aa03c7c201b256e23cc701
https://github.com/greglucas
greglucas https://github.com/greglucas
https://github.com/matplotlib/matplotlib/pull/30697/files/3c503dffa4197d90c7aa03c7c201b256e23cc701
GUI: MacOSX https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20MacOSX%22
v3.10.8 https://github.com/matplotlib/matplotlib/milestone/106
[Bug]: calling pyplot.gca() outside the main thread crashes the interpreter with the MacOS backend https://github.com/matplotlib/matplotlib/issues/30666
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30697/
https://github.com/ngoldbaum
https://github.com/timhoffm
https://github.com/ksunden
https://github.com/greglucas
https://github.com/QuLogic
https://github.com/tacaswell
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.