| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:309e810c-ac96-1cd0-1fda-9158d61ee0c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A374:17CF54:16646B0:1EAD432:6A53DF8C |
| html-safe-nonce | c25592cccd735cd3a4e35c2212a72a704e52017d041726c7dee6633e4877fb98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzc0OjE3Q0Y1NDoxNjY0NkIwOjFFQUQ0MzI6NkE1M0RGOEMiLCJ2aXNpdG9yX2lkIjoiMjc1OTgwNTgxNDUxNTg3NDY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2243b4513ef7ffb9f03b9979dfdb3e6083b83dbfec902ca0ca8a4729a0a4b6bf |
| hovercard-subject-tag | pull_request:4025349406 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/32026/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/598074b7e99e2c8475a3e7bdd656abcc0fb092dac918b14ed0facb1a9de05acc/matplotlib/matplotlib/pull/32026 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/598074b7e99e2c8475a3e7bdd656abcc0fb092dac918b14ed0facb1a9de05acc/matplotlib/matplotlib/pull/32026 |
| og:image:alt | PR summary
add_patch is currently very slow since it does bezier checks on all lines, but we can fast-path this for the common straight line case. In the below test script, add_patch dropped from 1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | scottshambaugh |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/32026#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32026 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F32026 |
|
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 |
| Reload | https://github.com/matplotlib/matplotlib/pull/32026 |
| Reload | https://github.com/matplotlib/matplotlib/pull/32026 |
| Reload | https://github.com/matplotlib/matplotlib/pull/32026 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
|
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
408
| 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 |
| scottshambaugh | https://github.com/scottshambaugh |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| scottshambaugh:add_patch_speedup | https://github.com/scottshambaugh/matplotlib/tree/add_patch_speedup |
| Conversation | https://github.com/matplotlib/matplotlib/pull/32026 |
| Commits4 (4) | https://github.com/matplotlib/matplotlib/pull/32026/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/32026/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/32026/files |
| PERF: Speed up add_patch | https://github.com/matplotlib/matplotlib/pull/32026#top |
| scottshambaugh | https://github.com/scottshambaugh |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| scottshambaugh:add_patch_speedup | https://github.com/scottshambaugh/matplotlib/tree/add_patch_speedup |
|
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#issue-4850262531 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| link the related issue | https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue |
| tested | https://matplotlib.org/devdocs/devel/testing.html |
| example | https://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials |
| directive and release note | https://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features |
| general | https://matplotlib.org/devdocs/devel/document.html#write-rest-pages |
| docstring | https://matplotlib.org/devdocs/devel/document.html#write-docstrings |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
| v3.12.0 | https://github.com/matplotlib/matplotlib/milestone/97 |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#event-27787698268 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
|
Performance
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3APerformance |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#event-27787698837 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
topic: axes
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20axes%22 |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#event-27787703949 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/b3f86e39951e289badb893a4270e245157c8498f..d45c072fa5c94b415735df569996577e43281139 |
| b3f86e3 | https://github.com/matplotlib/matplotlib/commit/b3f86e39951e289badb893a4270e245157c8498f |
| d45c072 | https://github.com/matplotlib/matplotlib/commit/d45c072fa5c94b415735df569996577e43281139 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/b3f86e39951e289badb893a4270e245157c8498f..d45c072fa5c94b415735df569996577e43281139 |
| July 9, 2026 22:11 | https://github.com/matplotlib/matplotlib/pull/32026#event-27787784452 |
|
| https://github.com/scottshambaugh |
| Speed up add_patch | https://github.com/matplotlib/matplotlib/pull/32026/commits/93c76f8c509d3c1423b59434d5b644fcb919d341 |
| 93c76f8 | https://github.com/matplotlib/matplotlib/pull/32026/commits/93c76f8c509d3c1423b59434d5b644fcb919d341 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/d45c072fa5c94b415735df569996577e43281139..93c76f8c509d3c1423b59434d5b644fcb919d341 |
| d45c072 | https://github.com/matplotlib/matplotlib/commit/d45c072fa5c94b415735df569996577e43281139 |
| 93c76f8 | https://github.com/matplotlib/matplotlib/commit/93c76f8c509d3c1423b59434d5b644fcb919d341 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/d45c072fa5c94b415735df569996577e43281139..93c76f8c509d3c1423b59434d5b644fcb919d341 |
| July 9, 2026 22:13 | https://github.com/matplotlib/matplotlib/pull/32026#event-27787837314 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Jul 9, 2026
| https://github.com/matplotlib/matplotlib/pull/32026#pullrequestreview-4667324565 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/32026/files/93c76f8c509d3c1423b59434d5b644fcb919d341 |
| lib/matplotlib/axes/_base.py | https://github.com/matplotlib/matplotlib/pull/32026/files/93c76f8c509d3c1423b59434d5b644fcb919d341#diff-eab8def55235f317e1ea06840d82467044586af2a7f9ec994356a14f70509b72 |
| QuLogic | https://github.com/QuLogic |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#discussion_r3555324540 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#discussion_r3555340084 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#discussion_r3555350570 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
|
| https://github.com/scottshambaugh |
| Speed up path.get_extents comparison as well | https://github.com/matplotlib/matplotlib/pull/32026/commits/7904e5cde408aeb1510e7825620564ae13ecba1b |
| 7904e5c | https://github.com/matplotlib/matplotlib/pull/32026/commits/7904e5cde408aeb1510e7825620564ae13ecba1b |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
topic: path handling
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20path%20handling%22 |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#event-27789281715 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
|
Jul 9, 2026
| https://github.com/matplotlib/matplotlib/pull/32026#pullrequestreview-4667380388 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/32026/files/7904e5cde408aeb1510e7825620564ae13ecba1b |
| lib/matplotlib/path.py | https://github.com/matplotlib/matplotlib/pull/32026/files/7904e5cde408aeb1510e7825620564ae13ecba1b#diff-732128c2653eae0f24d387b13fac9d2aed0a716c21e79e4ef68dcc7300c97562 |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 9, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#discussion_r3555375487 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
|
| https://github.com/scottshambaugh |
| Faster get_extents | https://github.com/matplotlib/matplotlib/pull/32026/commits/886c730d50f67e9a227da1e19bda52a27ae2fd19 |
| 886c730 | https://github.com/matplotlib/matplotlib/pull/32026/commits/886c730d50f67e9a227da1e19bda52a27ae2fd19 |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
|
Jul 10, 2026
| https://github.com/matplotlib/matplotlib/pull/32026#pullrequestreview-4667603156 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/32026/files/886c730d50f67e9a227da1e19bda52a27ae2fd19 |
| lib/matplotlib/path.py | https://github.com/matplotlib/matplotlib/pull/32026/files/886c730d50f67e9a227da1e19bda52a27ae2fd19#diff-732128c2653eae0f24d387b13fac9d2aed0a716c21e79e4ef68dcc7300c97562 |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 10, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#discussion_r3555567343 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 10, 2026
| https://github.com/matplotlib/matplotlib/pull/32026#pullrequestreview-4670498095 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/32026/files/886c730d50f67e9a227da1e19bda52a27ae2fd19 |
|
| https://github.com/scottshambaugh |
| Consolidate common code into Path._extent_vertices | https://github.com/matplotlib/matplotlib/pull/32026/commits/7defac678dcfea72e7b207631a634679cc92b44f |
| 7defac6 | https://github.com/matplotlib/matplotlib/pull/32026/commits/7defac678dcfea72e7b207631a634679cc92b44f |
| https://github.com/scottshambaugh |
| scottshambaugh | https://github.com/scottshambaugh |
| Jul 10, 2026 | https://github.com/matplotlib/matplotlib/pull/32026#issuecomment-4937019503 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32026 |
|
| https://github.com/QuLogic |
|
QuLogic
| https://github.com/QuLogic |
|
| https://github.com/matplotlib/matplotlib/pull/32026/files/93c76f8c509d3c1423b59434d5b644fcb919d341 |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/32026/files/886c730d50f67e9a227da1e19bda52a27ae2fd19 |
|
Performance
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3APerformance |
|
topic: axes
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20axes%22 |
|
topic: path handling
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20path%20handling%22 |
|
v3.12.0
| https://github.com/matplotlib/matplotlib/milestone/97 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/32026 |
|
| https://github.com/scottshambaugh |
|
| https://github.com/QuLogic |
|
| https://github.com/timhoffm |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |