| 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:0f3f8deb-742e-5bb6-fdd5-d415f69ac580 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADDA:F7EDB:B68077:F6AE2E:6A51637D |
| html-safe-nonce | d25d69c03b3614c863393ddafb523fee8e04de1d5eb10ef5dd0667463416667e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRERBOkY3RURCOkI2ODA3NzpGNkFFMkU6NkE1MTYzN0QiLCJ2aXNpdG9yX2lkIjoiNzM4MDgwNzc3Mjc1MTg4MTA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 675a34e38d47034915503ba1a09b1cba0f1e50e183b856de25aa526eb0380a7f |
| hovercard-subject-tag | pull_request:2500738722 |
| 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/30019/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/52c015b8730c38ebbd27dbe6baf37a38761518cfd2de407287fbf97063cbf884/matplotlib/matplotlib/pull/30019 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52c015b8730c38ebbd27dbe6baf37a38761518cfd2de407287fbf97063cbf884/matplotlib/matplotlib/pull/30019 |
| og:image:alt | PR summary
This closes #30007, ax.pie will now throw a ValueError when all the wedges are zero , before entering the NaN conversion
PR checklist
"closes #0000" is in the body of the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | albus-droid |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/30019/#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30019%2F |
| 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%2F30019%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 |
| Reload | https://github.com/matplotlib/matplotlib/pull/30019/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/30019/ |
| Reload | https://github.com/matplotlib/matplotlib/pull/30019/ |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
|
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 |
| oscargus | https://github.com/oscargus |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| albus-droid:all-zero-ax-pie | https://github.com/albus-droid/matplotlib/tree/all-zero-ax-pie |
| Conversation | https://github.com/matplotlib/matplotlib/pull/30019 |
| Commits6 (6) | https://github.com/matplotlib/matplotlib/pull/30019/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/30019/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/30019/files |
| FIX #30007: Raise ValueError when all wedge sizes are zero in ax.pie | https://github.com/matplotlib/matplotlib/pull/30019/#top |
| oscargus | https://github.com/oscargus |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| albus-droid:all-zero-ax-pie | https://github.com/albus-droid/matplotlib/tree/all-zero-ax-pie |
|
| https://github.com/albus-droid |
| albus-droid | https://github.com/albus-droid |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019/#issue-3041863678 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| #30007 | https://github.com/matplotlib/matplotlib/issues/30007 |
| 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 |
| https://private-user-images.githubusercontent.com/70963724/440695965-f0e351ed-b1f1-4445-96e6-67b0644a3496.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM3MTkwODEsIm5iZiI6MTc4MzcxODc4MSwicGF0aCI6Ii83MDk2MzcyNC80NDA2OTU5NjUtZjBlMzUxZWQtYjFmMS00NDQ1LTk2ZTYtNjdiMDY0NGEzNDk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEwVDIxMjYyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxZTA0OTE5YzZmMzc3MmNiYWUyZDE3ZmEzM2U0NjlkOWQ3ZTY4ZDk0MzQ0OWIxN2IzNjUxNjQ0OTViMTc2NGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.0XFeHS0hrmx3cQA21FRnMYF15iAUlMU3Dz1bKXo16_A |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| albus-droid | https://github.com/albus-droid |
| May 6, 2025 02:04 | https://github.com/matplotlib/matplotlib/pull/30019/#commits-pushed-e9b0d6c |
|
| https://github.com/albus-droid |
| Added a condition that throws a ValueError if all wedges are zero | https://github.com/matplotlib/matplotlib/pull/30019/commits/e9b0d6c4dff76d1cd8f824db278315cb0be72f80 |
| e9b0d6c | https://github.com/matplotlib/matplotlib/pull/30019/commits/e9b0d6c4dff76d1cd8f824db278315cb0be72f80 |
|
| https://github.com/albus-droid |
| Removed "=" and added "==" for the condition statement | https://github.com/matplotlib/matplotlib/pull/30019/commits/66e50fa6555b10f2dec9e1cca308bf8429ba8cfc |
| 66e50fa | https://github.com/matplotlib/matplotlib/pull/30019/commits/66e50fa6555b10f2dec9e1cca308bf8429ba8cfc |
|
| https://github.com/albus-droid |
| Added a test case with all wedges as zero | https://github.com/matplotlib/matplotlib/pull/30019/commits/cf353c0b3348f872304efd56aa40219812e626d2 |
| cf353c0 | https://github.com/matplotlib/matplotlib/pull/30019/commits/cf353c0b3348f872304efd56aa40219812e626d2 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
May 6, 2025
| https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817233459 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2 |
| github-actions | https://github.com/apps/github-actions |
| https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817233459 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| on gitter | https://gitter.im/matplotlib/matplotlib |
| the developer guide | https://matplotlib.org/devdocs/devel/index.html |
| Code of Conduct | https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853596492 |
| https://matplotlib.org/devdocs/devel/development_setup.html#install-pre-commit-hooks | https://matplotlib.org/devdocs/devel/development_setup.html#install-pre-commit-hooks |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
|
May 6, 2025
| https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817241170 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2 |
| lib/matplotlib/tests/test_axes.py | https://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| albus-droid | https://github.com/albus-droid |
| May 6, 2025 08:00 | https://github.com/matplotlib/matplotlib/pull/30019/#commits-pushed-334f61d |
|
| https://github.com/albus-droid |
| Fixed linting issue using pre-commit | https://github.com/matplotlib/matplotlib/pull/30019/commits/334f61d1933d8d3242d4d12226e1f0095ed07d7d |
| 334f61d | https://github.com/matplotlib/matplotlib/pull/30019/commits/334f61d1933d8d3242d4d12226e1f0095ed07d7d |
|
| https://github.com/albus-droid |
| Adding more linting changes missed by pre-commit | https://github.com/matplotlib/matplotlib/pull/30019/commits/71682f501477234d426894d87eceb0a363f9fef7 |
| 71682f5 | https://github.com/matplotlib/matplotlib/pull/30019/commits/71682f501477234d426894d87eceb0a363f9fef7 |
|
| https://github.com/albus-droid |
| Running pre-commit hook again to remove the error | https://github.com/matplotlib/matplotlib/pull/30019/commits/1c717dee285a938b6abf72527414a4930f90c531 |
| 1c717de | https://github.com/matplotlib/matplotlib/pull/30019/commits/1c717dee285a938b6abf72527414a4930f90c531 |
| https://github.com/albus-droid |
| albus-droid | https://github.com/albus-droid |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853720160 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
May 6, 2025
| https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817597044 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30019/files/1c717dee285a938b6abf72527414a4930f90c531 |
| rcomer | https://github.com/rcomer |
| https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817597044 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @albus-droid | https://github.com/albus-droid |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
| 9174093 | https://github.com/matplotlib/matplotlib/commit/91740933b658437016063f904030706d84b4502b |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019#event-17534066262 |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853930870 |
| @albus-droid | https://github.com/albus-droid |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
| https://github.com/oscargus |
| oscargus | https://github.com/oscargus |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| May 6, 2025 | https://github.com/matplotlib/matplotlib/pull/30019/#event-17534082019 |
| https://github.com/albus-droid |
| albus-droid | https://github.com/albus-droid |
| May 6, 2025 16:44 | https://github.com/matplotlib/matplotlib/pull/30019/#event-17540997846 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
Dec 5, 2025
| https://github.com/matplotlib/matplotlib/pull/30019/#ref-issue-1339439564 |
|
[Bug]: Pie chart with 0 array crashes
#23630
| https://github.com/matplotlib/matplotlib/issues/23630 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/30019/{{ 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%2F30019%2F |
|
| https://github.com/oscargus |
|
oscargus
| https://github.com/oscargus |
|
| https://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2 |
|
| https://github.com/apps/github-actions |
|
github-actions[bot]
| https://github.com/apps/github-actions |
|
| https://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2 |
|
| https://github.com/rcomer |
|
rcomer
| https://github.com/rcomer |
|
| https://github.com/matplotlib/matplotlib/pull/30019/files/1c717dee285a938b6abf72527414a4930f90c531 |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
|
Axes.pie([0, 0]) crashes with “cannot convert float NaN to integer” when all slice sizes are zero
| https://github.com/matplotlib/matplotlib/issues/30007 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30019/ |
|
| https://github.com/albus-droid |
|
| https://github.com/oscargus |
|
| https://github.com/rcomer |
|
| 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 |