René's URL Explorer Experiment


Title: Fix a bug of ignoring the closing path segment when automatically determining whether to snap by ayshih · Pull Request #32018 · matplotlib/matplotlib · GitHub

Open Graph Title: Fix a bug of ignoring the closing path segment when automatically determining whether to snap by ayshih · Pull Request #32018 · matplotlib/matplotlib

X Title: Fix a bug of ignoring the closing path segment when automatically determining whether to snap by ayshih · Pull Request #32018 · matplotlib/matplotlib

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

Open Graph Description: PR summary The current code for automatic determination of whether a path should be snapped – by checking whether all line segments are either horizontal or vertical – neglects to check the closin...

X Description: PR summary The current code for automatic determination of whether a path should be snapped – by checking whether all line segments are either horizontal or vertical – neglects to check the closin...

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

X: @github

direct link

Domain: togithub.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:82fa2b41-183f-cd99-33ac-d41244dfa45e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90EE:37ACD:381F5A:4F6AFD:6A4E6B4E
html-safe-nonce6f44d94fac9032ce5d6b348194a8632695c6da3eba1dd620de553009b6b8ffe7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEVFOjM3QUNEOjM4MUY1QTo0RjZBRkQ6NkE0RTZCNEUiLCJ2aXNpdG9yX2lkIjoiMTkwMTYzNjQyNzUyMDU2ODE0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac35869dab7d0f2890a1b52d4202bfd26613a17db599d0998e49f64c02515866fb
hovercard-subject-tagpull_request:4011963952
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/32018/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ab6e952d09e708920d101ea7f166b3c585401d67d530d2e9d89f54b751004bb7/matplotlib/matplotlib/pull/32018
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab6e952d09e708920d101ea7f166b3c585401d67d530d2e9d89f54b751004bb7/matplotlib/matplotlib/pull/32018
og:image:altPR summary The current code for automatic determination of whether a path should be snapped – by checking whether all line segments are either horizontal or vertical – neglects to check the closin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameayshih
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://togithub.com/matplotlib/matplotlib/pull/32018#start-of-content
https://togithub.com/
Sign in https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32018
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://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32018
Sign up https://togithub.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://togithub.com/matplotlib/matplotlib/pull/32018
Reloadhttps://togithub.com/matplotlib/matplotlib/pull/32018
Reloadhttps://togithub.com/matplotlib/matplotlib/pull/32018
Please reload this pagehttps://togithub.com/matplotlib/matplotlib/pull/32018
matplotlib https://togithub.com/matplotlib
matplotlibhttps://togithub.com/matplotlib/matplotlib
Please reload this pagehttps://togithub.com/matplotlib/matplotlib/pull/32018
Notifications https://togithub.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://togithub.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://togithub.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://togithub.com/matplotlib/matplotlib
Issues 1.1k https://togithub.com/matplotlib/matplotlib/issues
Pull requests 410 https://togithub.com/matplotlib/matplotlib/pulls
Actions https://togithub.com/matplotlib/matplotlib/actions
Projects https://togithub.com/matplotlib/matplotlib/projects
Wiki https://togithub.com/matplotlib/matplotlib/wiki
Security and quality 0 https://togithub.com/matplotlib/matplotlib/security
Insights https://togithub.com/matplotlib/matplotlib/pulse
Code https://togithub.com/matplotlib/matplotlib
Issues https://togithub.com/matplotlib/matplotlib/issues
Pull requests https://togithub.com/matplotlib/matplotlib/pulls
Actions https://togithub.com/matplotlib/matplotlib/actions
Projects https://togithub.com/matplotlib/matplotlib/projects
Wiki https://togithub.com/matplotlib/matplotlib/wiki
Security and quality https://togithub.com/matplotlib/matplotlib/security
Insights https://togithub.com/matplotlib/matplotlib/pulse
ayshihhttps://togithub.com/ayshih
matplotlib:mainhttps://togithub.com/matplotlib/matplotlib/tree/main
ayshih:snap_path_closurehttps://togithub.com/ayshih/matplotlib/tree/snap_path_closure
Conversationhttps://togithub.com/matplotlib/matplotlib/pull/32018
Commits2 (2)https://togithub.com/matplotlib/matplotlib/pull/32018/commits
Checkshttps://togithub.com/matplotlib/matplotlib/pull/32018/checks
Files changedhttps://togithub.com/matplotlib/matplotlib/pull/32018/files
Fix a bug of ignoring the closing path segment when automatically determining whether to snaphttps://togithub.com/matplotlib/matplotlib/pull/32018#top
ayshihhttps://togithub.com/ayshih
matplotlib:mainhttps://togithub.com/matplotlib/matplotlib/tree/main
ayshih:snap_path_closurehttps://togithub.com/ayshih/matplotlib/tree/snap_path_closure
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
Jul 8, 2026https://togithub.com/matplotlib/matplotlib/pull/32018#issue-4834608507
Please reload this pagehttps://togithub.com/matplotlib/matplotlib/pull/32018
https://private-user-images.githubusercontent.com/991759/618833589-7da5ddf8-a3dd-4ead-8040-e6a007eefe24.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJ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3QmWC1BbXotRGF0ZT0yMDI2MDcwOFQxNTIyNTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZmRlYjRiMWM4ODM2NWUwNDEzMjQ3Mzk2ZjVjMDc0OWRkZmM2NGM2NDZlMGRlZjMzMDg3ZmRhNjEwOTQ5Mzc5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.C2FCZGP37fzCd7GvFlwzLMl_3x1WT_fb_T-QdyGHFds
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://togithub.com/matplotlib/matplotlib/pull/32018
https://togithub.com/apps/github-actions
github-actionshttps://togithub.com/apps/github-actions
topic: path handling https://togithub.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20path%20handling%22
Jul 8, 2026https://togithub.com/matplotlib/matplotlib/pull/32018#event-27698586155
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
force-pushedhttps://togithub.com/matplotlib/matplotlib/compare/c486ae18597117fbc3b5010a5515830197409ce3..5ccbd11ada60a7646234adde7361b56490d9fa55
c486ae1https://togithub.com/matplotlib/matplotlib/commit/c486ae18597117fbc3b5010a5515830197409ce3
5ccbd11https://togithub.com/matplotlib/matplotlib/commit/5ccbd11ada60a7646234adde7361b56490d9fa55
Compare https://togithub.com/matplotlib/matplotlib/compare/c486ae18597117fbc3b5010a5515830197409ce3..5ccbd11ada60a7646234adde7361b56490d9fa55
July 8, 2026 13:15https://togithub.com/matplotlib/matplotlib/pull/32018#event-27716941457
https://togithub.com/ayshih
Check the closing path segment for autosnappinghttps://togithub.com/matplotlib/matplotlib/pull/32018/commits/f3ed855d2c6c3874c4601035b455df485c594b82
f3ed855https://togithub.com/matplotlib/matplotlib/pull/32018/commits/f3ed855d2c6c3874c4601035b455df485c594b82
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
force-pushedhttps://togithub.com/matplotlib/matplotlib/compare/5ccbd11ada60a7646234adde7361b56490d9fa55..8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf
5ccbd11https://togithub.com/matplotlib/matplotlib/commit/5ccbd11ada60a7646234adde7361b56490d9fa55
8e7924chttps://togithub.com/matplotlib/matplotlib/commit/8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf
Compare https://togithub.com/matplotlib/matplotlib/compare/5ccbd11ada60a7646234adde7361b56490d9fa55..8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf
July 8, 2026 13:16https://togithub.com/matplotlib/matplotlib/pull/32018#event-27716992194
https://togithub.com/ayshih
Update figure testshttps://togithub.com/matplotlib/matplotlib/pull/32018/commits/5a00b406ac39a6eb3480bdb0c552e53ea07a5ba4
5a00b40https://togithub.com/matplotlib/matplotlib/pull/32018/commits/5a00b406ac39a6eb3480bdb0c552e53ea07a5ba4
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
force-pushedhttps://togithub.com/matplotlib/matplotlib/compare/8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf..5a00b406ac39a6eb3480bdb0c552e53ea07a5ba4
8e7924chttps://togithub.com/matplotlib/matplotlib/commit/8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf
5a00b40https://togithub.com/matplotlib/matplotlib/commit/5a00b406ac39a6eb3480bdb0c552e53ea07a5ba4
Compare https://togithub.com/matplotlib/matplotlib/compare/8e7924c74f9ae82dfd3b4c39684b01d2f91dc8cf..5a00b406ac39a6eb3480bdb0c552e53ea07a5ba4
July 8, 2026 13:53https://togithub.com/matplotlib/matplotlib/pull/32018#event-27718725905
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
Jul 8, 2026https://togithub.com/matplotlib/matplotlib/pull/32018#event-27718793378
https://togithub.com/ayshih
ayshihhttps://togithub.com/ayshih
July 8, 2026 14:18https://togithub.com/matplotlib/matplotlib/pull/32018#event-27719905329
https://github.co/hiddenchars
https://togithub.com/matplotlib/matplotlib/pull/{{ revealButtonHref }}
Sign up for freehttps://togithub.com/join?source=comment-repo
Sign in to commenthttps://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32018
topic: path handling https://togithub.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20path%20handling%22
Please reload this pagehttps://togithub.com/matplotlib/matplotlib/pull/32018
https://togithub.com/ayshih
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.