René's URL Explorer Experiment


Title: FIX: only try to update blit caches if the canvas we expect by tacaswell · Pull Request #25085 · matplotlib/matplotlib · GitHub

Open Graph Title: FIX: only try to update blit caches if the canvas we expect by tacaswell · Pull Request #25085 · matplotlib/matplotlib

X Title: FIX: only try to update blit caches if the canvas we expect by tacaswell · Pull Request #25085 · matplotlib/matplotlib

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

Open Graph Description: Because we may switch the canvas to a different type (that may not support blitting) when saving, check it _clear that the current canvas is the canvas we expect when we update the blitting caches ...

X Description: Because we may switch the canvas to a different type (that may not support blitting) when saving, check it _clear that the current canvas is the canvas we expect when we update the blitting caches ...

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

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:316a718f-3df0-331a-7b93-d904bc060f8d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC318:16DE6C:7A32CD:A95A4C:6A507B51
html-safe-nonce46de16efc39b253de801f7dc17b8278d4c2dfcff367a22359d521b068797ba14
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzE4OjE2REU2Qzo3QTMyQ0Q6QTk1QTRDOjZBNTA3QjUxIiwidmlzaXRvcl9pZCI6IjYwNjU0MjQ2NDYyMjc5MTc2NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6342037edbf5e24ab2a473f8272ac0306028066ae34455f95a2d08d230d01337
hovercard-subject-tagpull_request:1217135382
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/25085/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6ac8ef5483a9bd0d8905bbed28a8a8ef10d5131f64a9023879f4329f088bca49/matplotlib/matplotlib/pull/25085
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ac8ef5483a9bd0d8905bbed28a8a8ef10d5131f64a9023879f4329f088bca49/matplotlib/matplotlib/pull/25085
og:image:altBecause we may switch the canvas to a different type (that may not support blitting) when saving, check it _clear that the current canvas is the canvas we expect when we update the blitting caches ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametacaswell
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/25085#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25085
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%2F25085
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/25085
Reloadhttps://github.com/matplotlib/matplotlib/pull/25085
Reloadhttps://github.com/matplotlib/matplotlib/pull/25085
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
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 410 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
tacaswellhttps://github.com/tacaswell
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
tacaswell:fix/widget_pdf_savehttps://github.com/tacaswell/matplotlib/tree/fix/widget_pdf_save
Conversationhttps://github.com/matplotlib/matplotlib/pull/25085
Commits3 (3)https://github.com/matplotlib/matplotlib/pull/25085/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/25085/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/25085/files
FIX: only try to update blit caches if the canvas we expecthttps://github.com/matplotlib/matplotlib/pull/25085#top
tacaswellhttps://github.com/tacaswell
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
tacaswell:fix/widget_pdf_savehttps://github.com/tacaswell/matplotlib/tree/fix/widget_pdf_save
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jan 25, 2023https://github.com/matplotlib/matplotlib/pull/25085#issue-1557290081
#25075https://github.com/matplotlib/matplotlib/issues/25075
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
v3.7.0https://github.com/matplotlib/matplotlib/milestone/70
Jan 25, 2023https://github.com/matplotlib/matplotlib/pull/25085#event-8358815342
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Jan 25, 2023 https://github.com/matplotlib/matplotlib/pull/25085#pullrequestreview-1270147727
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25085/files
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
force-pushedhttps://github.com/matplotlib/matplotlib/compare/eaf59b536e128e37690ba426a6ed16159ba67c14..9cec214f3734a501bd89fc58a864374586201b18
eaf59b5https://github.com/matplotlib/matplotlib/commit/eaf59b536e128e37690ba426a6ed16159ba67c14
9cec214https://github.com/matplotlib/matplotlib/commit/9cec214f3734a501bd89fc58a864374586201b18
Compare https://github.com/matplotlib/matplotlib/compare/eaf59b536e128e37690ba426a6ed16159ba67c14..9cec214f3734a501bd89fc58a864374586201b18
January 25, 2023 22:16https://github.com/matplotlib/matplotlib/pull/25085#event-8359204669
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Jan 25, 2023 https://github.com/matplotlib/matplotlib/pull/25085#pullrequestreview-1270273531
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25085/files
lib/matplotlib/widgets.pyhttps://github.com/matplotlib/matplotlib/pull/25085/files#diff-7e2b57811ea0cf4c29c147f61cff569194cdddfa9fea35eb897b4d786dca06ce
jklymakhttps://github.com/jklymak
Jan 25, 2023https://github.com/matplotlib/matplotlib/pull/25085#discussion_r1087285522
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
tacaswellhttps://github.com/tacaswell
Feb 9, 2023https://github.com/matplotlib/matplotlib/pull/25085#discussion_r1101936564
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Release critical https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Release%20critical%22
Feb 3, 2023https://github.com/matplotlib/matplotlib/pull/25085#event-8436974073
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
Feb 6, 2023https://github.com/matplotlib/matplotlib/pull/25085#event-8447351350
https://github.com/tacaswell
https://github.com/ksunden
FIX: only try to update blit caches if the canvas we expecthttps://github.com/matplotlib/matplotlib/pull/25085/commits/1ff61cf55f7a31e1a062146bf3af99eaa25963b6
1ff61cfhttps://github.com/matplotlib/matplotlib/pull/25085/commits/1ff61cf55f7a31e1a062146bf3af99eaa25963b6
matplotlib#25075https://github.com/matplotlib/matplotlib/issues/25075
https://github.com/ksunden
ksundenhttps://github.com/ksunden
force-pushedhttps://github.com/matplotlib/matplotlib/compare/9cec214f3734a501bd89fc58a864374586201b18..b88acdbba96f8049890c6ac4753ce7304fbcafbe
9cec214https://github.com/matplotlib/matplotlib/commit/9cec214f3734a501bd89fc58a864374586201b18
b88acdbhttps://github.com/matplotlib/matplotlib/commit/b88acdbba96f8049890c6ac4753ce7304fbcafbe
Compare https://github.com/matplotlib/matplotlib/compare/9cec214f3734a501bd89fc58a864374586201b18..b88acdbba96f8049890c6ac4753ce7304fbcafbe
February 8, 2023 00:07https://github.com/matplotlib/matplotlib/pull/25085#event-8463229496
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
status: needs rebase https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22
Feb 8, 2023https://github.com/matplotlib/matplotlib/pull/25085#event-8463231110
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Feb 8, 2023https://github.com/matplotlib/matplotlib/pull/25085#issuecomment-1421676750
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/tacaswell
https://github.com/ksunden
FIX: handle the change detection differently for multicursorhttps://github.com/matplotlib/matplotlib/pull/25085/commits/faa4816bfe7f299049f0c14802e7e85c3c180391
faa4816https://github.com/matplotlib/matplotlib/pull/25085/commits/faa4816bfe7f299049f0c14802e7e85c3c180391
https://github.com/ksunden
ksundenhttps://github.com/ksunden
force-pushedhttps://github.com/matplotlib/matplotlib/compare/b88acdbba96f8049890c6ac4753ce7304fbcafbe..faa4816bfe7f299049f0c14802e7e85c3c180391
b88acdbhttps://github.com/matplotlib/matplotlib/commit/b88acdbba96f8049890c6ac4753ce7304fbcafbe
faa4816https://github.com/matplotlib/matplotlib/commit/faa4816bfe7f299049f0c14802e7e85c3c180391
Compare https://github.com/matplotlib/matplotlib/compare/b88acdbba96f8049890c6ac4753ce7304fbcafbe..faa4816bfe7f299049f0c14802e7e85c3c180391
February 8, 2023 23:47https://github.com/matplotlib/matplotlib/pull/25085#event-8474070948
https://github.com/tacaswell
MNT: put changed canvas logic in private method with docstringhttps://github.com/matplotlib/matplotlib/pull/25085/commits/6bb208d5a9c46ded307c7baef4fd255cdbc80c46
6bb208dhttps://github.com/matplotlib/matplotlib/pull/25085/commits/6bb208d5a9c46ded307c7baef4fd255cdbc80c46
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Feb 9, 2023 https://github.com/matplotlib/matplotlib/pull/25085#pullrequestreview-1291883117
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25085/files/6bb208d5a9c46ded307c7baef4fd255cdbc80c46
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Feb 9, 2023https://github.com/matplotlib/matplotlib/pull/25085#issuecomment-1424855867
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Feb 9, 2023https://github.com/matplotlib/matplotlib/pull/25085#issuecomment-1424886567
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
887f39fhttps://github.com/matplotlib/matplotlib/commit/887f39f8e3dfacd18192495c2d4912e04e58d027
Feb 9, 2023https://github.com/matplotlib/matplotlib/pull/25085#event-8484637302
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
February 9, 2023 23:14https://github.com/matplotlib/matplotlib/pull/25085#event-8484637687
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 9, 2023 https://github.com/matplotlib/matplotlib/pull/25085#ref-pullrequest-1578753434
Backport PR #25085 on branch v3.7.x (FIX: only try to update blit caches if the canvas we expect) #25188 https://github.com/matplotlib/matplotlib/pull/25188
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 9, 2023 https://github.com/matplotlib/matplotlib/pull/25085#ref-commit-f8ecdaf
https://github.com/tacaswell
https://github.com/meeseeksmachine
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/f8ecdaf942a76c82410f19d9ca3edfb18b552bf0
matplotlib#25085https://github.com/matplotlib/matplotlib/pull/25085
: FIX: only try to update blit caches if …https://github.com/meeseeksmachine/matplotlib/commit/f8ecdaf942a76c82410f19d9ca3edfb18b552bf0
f8ecdafhttps://github.com/meeseeksmachine/matplotlib/commit/f8ecdaf942a76c82410f19d9ca3edfb18b552bf0
ksundenhttps://github.com/ksunden
Feb 10, 2023 https://github.com/matplotlib/matplotlib/pull/25085#ref-commit-fc775b1
https://github.com/ksunden
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/fc775b1d3d6b134cce5817238a940fdff9732072
#25188https://github.com/matplotlib/matplotlib/pull/25188
from meeseeksmachine/auto-backport-of-pr-25…https://github.com/matplotlib/matplotlib/commit/fc775b1d3d6b134cce5817238a940fdff9732072
fc775b1https://github.com/matplotlib/matplotlib/commit/fc775b1d3d6b134cce5817238a940fdff9732072
#25085https://github.com/matplotlib/matplotlib/pull/25085
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Feb 20, 2023 https://github.com/matplotlib/matplotlib/pull/25085#ref-pullrequest-1592305660
merge up 3.7.0 #25270 https://github.com/matplotlib/matplotlib/pull/25270
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jun 26, 2024 https://github.com/matplotlib/matplotlib/pull/25085#ref-pullrequest-2364741654
Fix pickling of AxesWidgets. #28430 https://github.com/matplotlib/matplotlib/pull/28430
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Sep 2, 2025 https://github.com/matplotlib/matplotlib/pull/25085#ref-issue-3375191865
Make Widget.useblit robust against underlying canvas changes #30503 https://github.com/matplotlib/matplotlib/issues/30503
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/{{ 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%2F25085
https://github.com/jklymak
jklymak https://github.com/jklymak
https://github.com/matplotlib/matplotlib/pull/25085/files/6bb208d5a9c46ded307c7baef4fd255cdbc80c46
https://github.com/ksunden
ksunden https://github.com/ksunden
https://github.com/matplotlib/matplotlib/pull/25085/files/bf6bb3178a5080213640712bebeb0a81e4c3c690
Release critical https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Release%20critical%22
v3.7.0 https://github.com/matplotlib/matplotlib/milestone/70
[Bug]: Widget blitting broken when saving as PDF https://github.com/matplotlib/matplotlib/issues/25075
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25085
https://github.com/tacaswell
https://github.com/ksunden
https://github.com/jklymak
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.