| 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:eeac26df-27aa-1c67-a2e4-40cf30e665e4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E42E:D1AA1:1CDE544:2914E6B:6A50D723 |
| html-safe-nonce | 976e95e627eec0ca0a6678611aaa3296f2ac2ee1209bba70c746494995666d0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDJFOkQxQUExOjFDREU1NDQ6MjkxNEU2Qjo2QTUwRDcyMyIsInZpc2l0b3JfaWQiOiIzNjczOTAyMTQxODgwMTk0ODUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 18eb8caf560a5d0aea2473792a9eb40ae8c744b67fd3dc952835820e197c39c3 |
| hovercard-subject-tag | pull_request:392596208 |
| 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/16889/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/968b2eec5e48c8672b7571d4d795da2359a9166c0a1703e3668fe89e6ff1ecfc/matplotlib/matplotlib/pull/16889 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/968b2eec5e48c8672b7571d4d795da2359a9166c0a1703e3668fe89e6ff1ecfc/matplotlib/matplotlib/pull/16889 |
| og:image:alt | PR Summary
We should allow users to center markers by center of mass. This is the code to compute the center of mass of an arbitrary path (treats paths of different intrinsic dimension correctly).
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunobeltran |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 73ad5c4eaffed7bb3637024653eabdbca84a855e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/16889#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F16889 |
| 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%2F16889 |
|
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/16889 |
| Reload | https://github.com/matplotlib/matplotlib/pull/16889 |
| Reload | https://github.com/matplotlib/matplotlib/pull/16889 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
|
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
411
| 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 |
| brunobeltran | https://github.com/brunobeltran |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| brunobeltran:path_center_of_mass | https://github.com/brunobeltran/matplotlib/tree/path_center_of_mass |
| Conversation | https://github.com/matplotlib/matplotlib/pull/16889 |
| Commits4 (4) | https://github.com/matplotlib/matplotlib/pull/16889/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/16889/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/16889/files |
| Path center of mass | https://github.com/matplotlib/matplotlib/pull/16889#top |
| brunobeltran | https://github.com/brunobeltran |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| brunobeltran:path_center_of_mass | https://github.com/brunobeltran/matplotlib/tree/path_center_of_mass |
|
| https://github.com/brunobeltran |
| brunobeltran | https://github.com/brunobeltran |
| Mar 23, 2020 | https://github.com/matplotlib/matplotlib/pull/16889#issue-586465751 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
| #16812 | https://github.com/matplotlib/matplotlib/pull/16812 |
| #16832 | https://github.com/matplotlib/matplotlib/pull/16832 |
| #16859 | https://github.com/matplotlib/matplotlib/pull/16859 |
| #16888 | https://github.com/matplotlib/matplotlib/pull/16888 |
| #16891 | https://github.com/matplotlib/matplotlib/pull/16891 |
| Flake 8 | http://flake8.pycqa.org/en/latest/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
|
Equal area markers
#16891
| https://github.com/matplotlib/matplotlib/pull/16891 |
|
Path length
#16888
| https://github.com/matplotlib/matplotlib/pull/16888 |
|
Compute area of path
#16859
| https://github.com/matplotlib/matplotlib/pull/16859 |
|
Correctly compute path extents
#16832
| https://github.com/matplotlib/matplotlib/pull/16832 |
|
Bezier/Path API Cleanup: fix circular import issue
#16812
| https://github.com/matplotlib/matplotlib/pull/16812 |
| https://github.com/brunobeltran |
| brunobeltran | https://github.com/brunobeltran |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/a933565b13d696176249bc7dfa73b8e5a8f2bdce..08faaf53441b9e84ba91c6c2275836f3256bb7c3 |
| a933565 | https://github.com/matplotlib/matplotlib/commit/a933565b13d696176249bc7dfa73b8e5a8f2bdce |
| 08faaf5 | https://github.com/matplotlib/matplotlib/commit/08faaf53441b9e84ba91c6c2275836f3256bb7c3 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/a933565b13d696176249bc7dfa73b8e5a8f2bdce..08faaf53441b9e84ba91c6c2275836f3256bb7c3 |
| March 23, 2020 23:27 | https://github.com/matplotlib/matplotlib/pull/16889#event-3157499283 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
status: waiting for other PR
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting%20for%20other%20PR%22 |
| Mar 24, 2020 | https://github.com/matplotlib/matplotlib/pull/16889#event-3158109145 |
| https://github.com/brunobeltran |
| brunobeltran | https://github.com/brunobeltran |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/82b1359535f4bf189626d1d7d084f9e9992d8a04..348e7e1a7080c9554e8708c0ceb696b06ba744ed |
| 82b1359 | https://github.com/matplotlib/matplotlib/commit/82b1359535f4bf189626d1d7d084f9e9992d8a04 |
| 348e7e1 | https://github.com/matplotlib/matplotlib/commit/348e7e1a7080c9554e8708c0ceb696b06ba744ed |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/82b1359535f4bf189626d1d7d084f9e9992d8a04..348e7e1a7080c9554e8708c0ceb696b06ba744ed |
| March 31, 2020 02:03 | https://github.com/matplotlib/matplotlib/pull/16889#event-3181204456 |
| https://github.com/brunobeltran |
| brunobeltran | https://github.com/brunobeltran |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/348e7e1a7080c9554e8708c0ceb696b06ba744ed..cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e |
| 348e7e1 | https://github.com/matplotlib/matplotlib/commit/348e7e1a7080c9554e8708c0ceb696b06ba744ed |
| cb37c8f | https://github.com/matplotlib/matplotlib/commit/cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/348e7e1a7080c9554e8708c0ceb696b06ba744ed..cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e |
| April 9, 2020 21:28 | https://github.com/matplotlib/matplotlib/pull/16889#event-3220030931 |
| brunobeltran | https://github.com/brunobeltran |
| April 19, 2020 19:56 | https://github.com/matplotlib/matplotlib/pull/16889#commits-pushed-5f8493b |
|
| https://github.com/brunobeltran |
| correctly compute bounding box for path | https://github.com/matplotlib/matplotlib/pull/16889/commits/5f8493bc00810af2d968f6da075cc4868e13d18e |
| 5f8493b | https://github.com/matplotlib/matplotlib/pull/16889/commits/5f8493bc00810af2d968f6da075cc4868e13d18e |
|
| https://github.com/brunobeltran |
| add function to compute (signed) area of path | https://github.com/matplotlib/matplotlib/pull/16889/commits/5be375ff529d57ffc07c0322df36e0dcaa1b509d |
| 5be375f | https://github.com/matplotlib/matplotlib/pull/16889/commits/5be375ff529d57ffc07c0322df36e0dcaa1b509d |
|
| https://github.com/brunobeltran |
| code to compute bezier segment / path lengths | https://github.com/matplotlib/matplotlib/pull/16889/commits/caf032489dd876244106fc7297ae57b0c959f916 |
| caf0324 | https://github.com/matplotlib/matplotlib/pull/16889/commits/caf032489dd876244106fc7297ae57b0c959f916 |
|
| https://github.com/brunobeltran |
| add function to get center of mass of path | https://github.com/matplotlib/matplotlib/pull/16889/commits/23ae477549893e9ea0ac3a209cf17d72b344b310 |
| 23ae477 | https://github.com/matplotlib/matplotlib/pull/16889/commits/23ae477549893e9ea0ac3a209cf17d72b344b310 |
| https://github.com/brunobeltran |
| brunobeltran | https://github.com/brunobeltran |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e..23ae477549893e9ea0ac3a209cf17d72b344b310 |
| cb37c8f | https://github.com/matplotlib/matplotlib/commit/cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e |
| 23ae477 | https://github.com/matplotlib/matplotlib/commit/23ae477549893e9ea0ac3a209cf17d72b344b310 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/cb37c8f889224eb2763e7aafa3c5d6e8c1d5c87e..23ae477549893e9ea0ac3a209cf17d72b344b310 |
| April 20, 2020 03:05 | https://github.com/matplotlib/matplotlib/pull/16889#event-3249890972 |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
| July 23, 2020 03:18 | https://github.com/matplotlib/matplotlib/pull/16889#event-3578283541 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
status: needs rebase
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22 |
| Oct 18, 2022 | https://github.com/matplotlib/matplotlib/pull/16889#event-7609186487 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jul 14, 2023 | https://github.com/matplotlib/matplotlib/pull/16889#issuecomment-1635164181 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
status: inactive
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20inactive%22 |
| Jul 14, 2023 | https://github.com/matplotlib/matplotlib/pull/16889#event-9817091732 |
| 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%2F16889 |
|
status: inactive
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20inactive%22 |
|
status: needs rebase
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20rebase%22 |
|
status: waiting for other PR
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting%20for%20other%20PR%22 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/16889 |
|
| https://github.com/brunobeltran |
|
| https://github.com/QuLogic |
|
| 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 |