René's URL Explorer Experiment


Title: allow passing a function to `CallbackRegistry.disconnect_func` by ianhi · Pull Request #30844 · matplotlib/matplotlib · GitHub

Open Graph Title: allow passing a function to `CallbackRegistry.disconnect_func` by ianhi · Pull Request #30844 · matplotlib/matplotlib

X Title: allow passing a function to `CallbackRegistry.disconnect_func` by ianhi · Pull Request #30844 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: PR summary Make it more convenient to disconnect a callback by allowing passing back the function instead of requiring keeping track of the callback_id. I added a new function instead of overloadi...

X Description: PR summary Make it more convenient to disconnect a callback by allowing passing back the function instead of requiring keeping track of the callback_id. I added a new function instead of overloadi...

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

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:d4b1189c-f560-cd46-6f1b-1a5bd6afc509
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB2A:1357D4:B1CC92:F09112:6A516394
html-safe-noncef1bc599a5c09f860f3707be97a524ececcbc6090a4df642985a49b95abdfe14a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjJBOjEzNTdENDpCMUNDOTI6RjA5MTEyOjZBNTE2Mzk0IiwidmlzaXRvcl9pZCI6IjI0OTIwNzE5MTI0ODM2NzcwNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacee6f02b56e04d6bf2470e477bc1d453c3a3c33344fe63677b8da659222556e99
hovercard-subject-tagpull_request:3097302805
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/30844/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/87359b5142b99ef75b578662c209f4dc965d3acf3f3c1ff043763876ff3f0f87/matplotlib/matplotlib/pull/30844
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/87359b5142b99ef75b578662c209f4dc965d3acf3f3c1ff043763876ff3f0f87/matplotlib/matplotlib/pull/30844
og:image:altPR summary Make it more convenient to disconnect a callback by allowing passing back the function instead of requiring keeping track of the callback_id. I added a new function instead of overloadi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameianhi
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release2eeb434949a926fad21064b4d395a54759f7a0b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/30844/#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30844%2F
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F30844%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/30844/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30844/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30844/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k 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 409 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 and quality 0 https://github.com/matplotlib/matplotlib/security
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 and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
ksundenhttps://github.com/ksunden
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ianhi:callback-disconnecthttps://github.com/ianhi/matplotlib/tree/callback-disconnect
Conversationhttps://github.com/matplotlib/matplotlib/pull/30844
Commits6 (6)https://github.com/matplotlib/matplotlib/pull/30844/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/30844/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/30844/files
allow passing a function to CallbackRegistry.disconnect_func https://github.com/matplotlib/matplotlib/pull/30844/#top
ksundenhttps://github.com/ksunden
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ianhi:callback-disconnecthttps://github.com/ianhi/matplotlib/tree/callback-disconnect
https://github.com/ianhi
ianhihttps://github.com/ianhi
Dec 12, 2025https://github.com/matplotlib/matplotlib/pull/30844/#issue-3724290323
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
#23306https://github.com/matplotlib/matplotlib/issues/23306
link the related issuehttps://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
testedhttps://matplotlib.org/devdocs/devel/testing.html
examplehttps://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials
directive and release notehttps://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features
generalhttps://matplotlib.org/devdocs/devel/document.html#write-rest-pages
docstringhttps://matplotlib.org/devdocs/devel/document.html#write-docstrings
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
ianhihttps://github.com/ianhi
December 12, 2025 12:28https://github.com/matplotlib/matplotlib/pull/30844/#commits-pushed-3e7bedb
https://github.com/ianhi
add callback disconnect by passing functionhttps://github.com/matplotlib/matplotlib/pull/30844/commits/3e7bedb6ca4b29771aeb1555e2eb999db75b33f6
3e7bedbhttps://github.com/matplotlib/matplotlib/pull/30844/commits/3e7bedb6ca4b29771aeb1555e2eb999db75b33f6
https://github.com/ianhi
re-use remove_proxy in disconnecthttps://github.com/matplotlib/matplotlib/pull/30844/commits/895bd46d306847fcd367bf24ef37ece9c6b6244d
895bd46https://github.com/matplotlib/matplotlib/pull/30844/commits/895bd46d306847fcd367bf24ef37ece9c6b6244d
https://github.com/ianhi
whats new notehttps://github.com/matplotlib/matplotlib/pull/30844/commits/469e094229ef6e08fbcb3ee5bf669de0e54a43f5
469e094https://github.com/matplotlib/matplotlib/pull/30844/commits/469e094229ef6e08fbcb3ee5bf669de0e54a43f5
https://github.com/ianhi
ianhihttps://github.com/ianhi
Dec 12, 2025https://github.com/matplotlib/matplotlib/pull/30844/#issuecomment-3647608902
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Dec 13, 2025https://github.com/matplotlib/matplotlib/pull/30844/#issuecomment-3648871942
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
https://github.com/ianhi
simplify into single function with overload and api renamehttps://github.com/matplotlib/matplotlib/pull/30844/commits/da7a5cc573af023cbe4380ef5d686a676f71cd47
da7a5cchttps://github.com/matplotlib/matplotlib/pull/30844/commits/da7a5cc573af023cbe4380ef5d686a676f71cd47
https://github.com/ianhi
ianhihttps://github.com/ianhi
Dec 13, 2025https://github.com/matplotlib/matplotlib/pull/30844/#issuecomment-3649752157
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Dec 13, 2025 https://github.com/matplotlib/matplotlib/pull/30844/#pullrequestreview-3574555668
View reviewed changes https://github.com/matplotlib/matplotlib/pull/30844/files/da7a5cc573af023cbe4380ef5d686a676f71cd47
timhoffmhttps://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/30844/#pullrequestreview-3574555668
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
doc/api/next_api_changes/deprecations/30844-IHI.rsthttps://github.com/matplotlib/matplotlib/pull/30844/files/da7a5cc573af023cbe4380ef5d686a676f71cd47#diff-1a8c84e1277ab22dade988e44ce635c05ec946eba7af5460c2ef5bc989e913bb
timhoffmhttps://github.com/timhoffm
Dec 13, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616519589
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
ianhihttps://github.com/ianhi
Dec 14, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616749770
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
timhoffmhttps://github.com/timhoffm
Dec 14, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616909686
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ianhihttps://github.com/ianhi
#30848https://github.com/matplotlib/matplotlib/issues/30848
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
doc/release/next_whats_new/callback_registry_disconnect_func.rsthttps://github.com/matplotlib/matplotlib/pull/30844/files/da7a5cc573af023cbe4380ef5d686a676f71cd47#diff-95cd34938a04c3e42e97e51b202c9e3d67d371c2d915e1dbe7297b244fb8c21a
timhoffmhttps://github.com/timhoffm
Dec 13, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616519748
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
ianhihttps://github.com/ianhi
Dec 14, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616749717
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
timhoffmhttps://github.com/timhoffm
Dec 14, 2025https://github.com/matplotlib/matplotlib/pull/30844/#discussion_r2616908479
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
ianhihttps://github.com/ianhi
December 14, 2025 00:52https://github.com/matplotlib/matplotlib/pull/30844/#commits-pushed-a019b4f
https://github.com/ianhi
update change loghttps://github.com/matplotlib/matplotlib/pull/30844/commits/a019b4ff828feb46852c5e66ca272bda3d4fdf4b
a019b4fhttps://github.com/matplotlib/matplotlib/pull/30844/commits/a019b4ff828feb46852c5e66ca272bda3d4fdf4b
https://github.com/ianhi
grammarhttps://github.com/matplotlib/matplotlib/pull/30844/commits/8c88f8acf1e901a7dbd7c1b7121304a2cdab214e
8c88f8ahttps://github.com/matplotlib/matplotlib/pull/30844/commits/8c88f8acf1e901a7dbd7c1b7121304a2cdab214e
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Dec 14, 2025 https://github.com/matplotlib/matplotlib/pull/30844/#pullrequestreview-3574962682
View reviewed changes https://github.com/matplotlib/matplotlib/pull/30844/files/8c88f8acf1e901a7dbd7c1b7121304a2cdab214e
https://github.com/ianhi
ianhihttps://github.com/ianhi
Dec 14, 2025 https://github.com/matplotlib/matplotlib/pull/30844/#ref-issue-3725410280
[MNT]: Should we request contributors to declare usage of AI? #30848 https://github.com/matplotlib/matplotlib/issues/30848
https://github.com/ksunden
ksundenhttps://github.com/ksunden
d3f5e11https://github.com/matplotlib/matplotlib/commit/d3f5e119903b569babfa7e8bcfef71cddaa99f0d
Mar 6, 2026https://github.com/matplotlib/matplotlib/pull/30844#event-23344688781
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
https://github.com/ksunden
ksundenhttps://github.com/ksunden
v3.11.0https://github.com/matplotlib/matplotlib/milestone/96
Mar 6, 2026https://github.com/matplotlib/matplotlib/pull/30844/#event-23344691328
https://github.com/ianhi
ianhihttps://github.com/ianhi
March 6, 2026 21:16https://github.com/matplotlib/matplotlib/pull/30844/#event-23344837047
andreas16700https://github.com/andreas16700
Mar 16, 2026 https://github.com/matplotlib/matplotlib/pull/30844/#ref-commit-769d984
https://github.com/andreas16700
Runhttps://github.com/andreas16700/matplotlib/commit/769d9848eeaef3219bb10af476e4257eef6d6939
d3f5e11https://github.com/andreas16700/matplotlib/commit/d3f5e119903b569babfa7e8bcfef71cddaa99f0d
: Merge pull requesthttps://github.com/andreas16700/matplotlib/commit/769d9848eeaef3219bb10af476e4257eef6d6939
matplotlib#30844https://github.com/matplotlib/matplotlib/pull/30844
from ianhi/callback-…https://github.com/andreas16700/matplotlib/commit/769d9848eeaef3219bb10af476e4257eef6d6939
769d984https://github.com/andreas16700/matplotlib/commit/769d9848eeaef3219bb10af476e4257eef6d6939
andreas16700https://github.com/andreas16700
Mar 16, 2026 https://github.com/matplotlib/matplotlib/pull/30844/#ref-commit-301eb45
https://github.com/andreas16700
Runhttps://github.com/andreas16700/matplotlib/commit/301eb45ce9b5c31122b39659314dee76c8312889
d3f5e11https://github.com/andreas16700/matplotlib/commit/d3f5e119903b569babfa7e8bcfef71cddaa99f0d
: Merge pull requesthttps://github.com/andreas16700/matplotlib/commit/301eb45ce9b5c31122b39659314dee76c8312889
matplotlib#30844https://github.com/matplotlib/matplotlib/pull/30844
from ianhi/callback-…https://github.com/andreas16700/matplotlib/commit/301eb45ce9b5c31122b39659314dee76c8312889
301eb45https://github.com/andreas16700/matplotlib/commit/301eb45ce9b5c31122b39659314dee76c8312889
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/30844/{{ revealButtonHref }}
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%2F30844%2F
https://github.com/timhoffm
timhoffm https://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/30844/files/8c88f8acf1e901a7dbd7c1b7121304a2cdab214e
v3.11.0 https://github.com/matplotlib/matplotlib/milestone/96
[ENH]: allow passing a function to CallbackRegistry.disconnect https://github.com/matplotlib/matplotlib/issues/23306
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30844/
https://github.com/ianhi
https://github.com/timhoffm
https://github.com/ksunden
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.