René's URL Explorer Experiment


Title: FIX #30007: Raise ValueError when all wedge sizes are zero in ax.pie by albus-droid · Pull Request #30019 · matplotlib/matplotlib · GitHub

Open Graph Title: FIX #30007: Raise ValueError when all wedge sizes are zero in ax.pie by albus-droid · Pull Request #30019 · matplotlib/matplotlib

X Title: FIX #30007: Raise ValueError when all wedge sizes are zero in ax.pie by albus-droid · Pull Request #30019 · matplotlib/matplotlib

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

Open Graph Description: 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 ...

X Description: 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...

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

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:0f3f8deb-742e-5bb6-fdd5-d415f69ac580
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idADDA:F7EDB:B68077:F6AE2E:6A51637D
html-safe-nonced25d69c03b3614c863393ddafb523fee8e04de1d5eb10ef5dd0667463416667e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRERBOkY3RURCOkI2ODA3NzpGNkFFMkU6NkE1MTYzN0QiLCJ2aXNpdG9yX2lkIjoiNzM4MDgwNzc3Mjc1MTg4MTA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac675a34e38d47034915503ba1a09b1cba0f1e50e183b856de25aa526eb0380a7f
hovercard-subject-tagpull_request:2500738722
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/30019/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52c015b8730c38ebbd27dbe6baf37a38761518cfd2de407287fbf97063cbf884/matplotlib/matplotlib/pull/30019
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52c015b8730c38ebbd27dbe6baf37a38761518cfd2de407287fbf97063cbf884/matplotlib/matplotlib/pull/30019
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealbus-droid
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release2eeb434949a926fad21064b4d395a54759f7a0b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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%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
Reloadhttps://github.com/matplotlib/matplotlib/pull/30019/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30019/
Reloadhttps://github.com/matplotlib/matplotlib/pull/30019/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://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
oscargushttps://github.com/oscargus
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
albus-droid:all-zero-ax-piehttps://github.com/albus-droid/matplotlib/tree/all-zero-ax-pie
Conversationhttps://github.com/matplotlib/matplotlib/pull/30019
Commits6 (6)https://github.com/matplotlib/matplotlib/pull/30019/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/30019/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/30019/files
FIX #30007: Raise ValueError when all wedge sizes are zero in ax.piehttps://github.com/matplotlib/matplotlib/pull/30019/#top
oscargushttps://github.com/oscargus
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
albus-droid:all-zero-ax-piehttps://github.com/albus-droid/matplotlib/tree/all-zero-ax-pie
https://github.com/albus-droid
albus-droidhttps://github.com/albus-droid
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019/#issue-3041863678
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
#30007https://github.com/matplotlib/matplotlib/issues/30007
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
https://private-user-images.githubusercontent.com/70963724/440695965-f0e351ed-b1f1-4445-96e6-67b0644a3496.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM3MTkwODEsIm5iZiI6MTc4MzcxODc4MSwicGF0aCI6Ii83MDk2MzcyNC80NDA2OTU5NjUtZjBlMzUxZWQtYjFmMS00NDQ1LTk2ZTYtNjdiMDY0NGEzNDk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEwVDIxMjYyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxZTA0OTE5YzZmMzc3MmNiYWUyZDE3ZmEzM2U0NjlkOWQ3ZTY4ZDk0MzQ0OWIxN2IzNjUxNjQ0OTViMTc2NGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.0XFeHS0hrmx3cQA21FRnMYF15iAUlMU3Dz1bKXo16_A
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
albus-droidhttps://github.com/albus-droid
May 6, 2025 02:04https://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 zerohttps://github.com/matplotlib/matplotlib/pull/30019/commits/e9b0d6c4dff76d1cd8f824db278315cb0be72f80
e9b0d6chttps://github.com/matplotlib/matplotlib/pull/30019/commits/e9b0d6c4dff76d1cd8f824db278315cb0be72f80
https://github.com/albus-droid
Removed "=" and added "==" for the condition statementhttps://github.com/matplotlib/matplotlib/pull/30019/commits/66e50fa6555b10f2dec9e1cca308bf8429ba8cfc
66e50fahttps://github.com/matplotlib/matplotlib/pull/30019/commits/66e50fa6555b10f2dec9e1cca308bf8429ba8cfc
https://github.com/albus-droid
Added a test case with all wedges as zerohttps://github.com/matplotlib/matplotlib/pull/30019/commits/cf353c0b3348f872304efd56aa40219812e626d2
cf353c0https://github.com/matplotlib/matplotlib/pull/30019/commits/cf353c0b3348f872304efd56aa40219812e626d2
https://github.com/apps/github-actions
github-actionshttps://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-actionshttps://github.com/apps/github-actions
https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817233459
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
on gitterhttps://gitter.im/matplotlib/matplotlib
the developer guidehttps://matplotlib.org/devdocs/devel/index.html
Code of Conducthttps://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/oscargus
oscargushttps://github.com/oscargus
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853596492
https://matplotlib.org/devdocs/devel/development_setup.html#install-pre-commit-hookshttps://matplotlib.org/devdocs/devel/development_setup.html#install-pre-commit-hooks
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/oscargus
oscargushttps://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.pyhttps://github.com/matplotlib/matplotlib/pull/30019/files/cf353c0b3348f872304efd56aa40219812e626d2#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
albus-droidhttps://github.com/albus-droid
May 6, 2025 08:00https://github.com/matplotlib/matplotlib/pull/30019/#commits-pushed-334f61d
https://github.com/albus-droid
Fixed linting issue using pre-commithttps://github.com/matplotlib/matplotlib/pull/30019/commits/334f61d1933d8d3242d4d12226e1f0095ed07d7d
334f61dhttps://github.com/matplotlib/matplotlib/pull/30019/commits/334f61d1933d8d3242d4d12226e1f0095ed07d7d
https://github.com/albus-droid
Adding more linting changes missed by pre-commithttps://github.com/matplotlib/matplotlib/pull/30019/commits/71682f501477234d426894d87eceb0a363f9fef7
71682f5https://github.com/matplotlib/matplotlib/pull/30019/commits/71682f501477234d426894d87eceb0a363f9fef7
https://github.com/albus-droid
Running pre-commit hook again to remove the errorhttps://github.com/matplotlib/matplotlib/pull/30019/commits/1c717dee285a938b6abf72527414a4930f90c531
1c717dehttps://github.com/matplotlib/matplotlib/pull/30019/commits/1c717dee285a938b6abf72527414a4930f90c531
https://github.com/albus-droid
albus-droidhttps://github.com/albus-droid
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853720160
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/rcomer
rcomerhttps://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
rcomerhttps://github.com/rcomer
https://github.com/matplotlib/matplotlib/pull/30019/#pullrequestreview-2817597044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@albus-droidhttps://github.com/albus-droid
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/oscargus
oscargushttps://github.com/oscargus
9174093https://github.com/matplotlib/matplotlib/commit/91740933b658437016063f904030706d84b4502b
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019#event-17534066262
https://github.com/oscargus
oscargushttps://github.com/oscargus
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019/#issuecomment-2853930870
@albus-droidhttps://github.com/albus-droid
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/oscargus
oscargushttps://github.com/oscargus
v3.11.0https://github.com/matplotlib/matplotlib/milestone/96
May 6, 2025https://github.com/matplotlib/matplotlib/pull/30019/#event-17534082019
https://github.com/albus-droid
albus-droidhttps://github.com/albus-droid
May 6, 2025 16:44https://github.com/matplotlib/matplotlib/pull/30019/#event-17540997846
https://github.com/rcomer
rcomerhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/matplotlib/matplotlib/pull/30019/
https://github.com/albus-droid
https://github.com/oscargus
https://github.com/rcomer
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.