René's URL Explorer Experiment


Title: BUG: Return null Bbox when there is no intersection for bar_label center. by stefmolin · Pull Request #25681 · matplotlib/matplotlib · GitHub

Open Graph Title: BUG: Return null Bbox when there is no intersection for bar_label center. by stefmolin · Pull Request #25681 · matplotlib/matplotlib

X Title: BUG: Return null Bbox when there is no intersection for bar_label center. by stefmolin · Pull Request #25681 · matplotlib/matplotlib

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

Open Graph Description: PR Summary Addresses #25625 When using bar_label(label_type='center') and axis limits that cut off some of the bars, an exception was raised because the Bbox intersection was None. This PR ...

X Description: PR Summary Addresses #25625 When using bar_label(label_type='center') and axis limits that cut off some of the bars, an exception was raised because the Bbox intersection was None. ...

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

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:1297a12b-8514-6ef2-5f31-ca06aeb74937
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7B6:2C3273:2FE370:4001E5:6A518D80
html-safe-nonce5295d54b0fe4c33821716453ad106e46fe7faa37f6bd99a3ad94af5af52d8756
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0I2OjJDMzI3MzoyRkUzNzA6NDAwMUU1OjZBNTE4RDgwIiwidmlzaXRvcl9pZCI6IjMxMjE4NjUxMDc2NTI1Nzg2ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac29a4ebf729f664930e94806a5898cf207d7b64aec5cdecad025c4c77223c7eab
hovercard-subject-tagpull_request:1313332520
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/25681/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3b40cbe370a7b488d703bd24602e6018859990284863b692631d1a0b5f027cac/matplotlib/matplotlib/pull/25681
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3b40cbe370a7b488d703bd24602e6018859990284863b692631d1a0b5f027cac/matplotlib/matplotlib/pull/25681
og:image:altPR Summary Addresses #25625 When using bar_label(label_type='center') and axis limits that cut off some of the bars, an exception was raised because the Bbox intersection was None. This PR ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestefmolin
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/25681#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25681
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%2F25681
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/25681
Reloadhttps://github.com/matplotlib/matplotlib/pull/25681
Reloadhttps://github.com/matplotlib/matplotlib/pull/25681
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
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
ksundenhttps://github.com/ksunden
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
stefmolin:null-bboxhttps://github.com/stefmolin/matplotlib/tree/null-bbox
Conversationhttps://github.com/matplotlib/matplotlib/pull/25681
Commits3 (3)https://github.com/matplotlib/matplotlib/pull/25681/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/25681/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/25681/files
BUG: Return null Bbox when there is no intersection for bar_label center.https://github.com/matplotlib/matplotlib/pull/25681#top
ksundenhttps://github.com/ksunden
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
stefmolin:null-bboxhttps://github.com/stefmolin/matplotlib/tree/null-bbox
https://github.com/stefmolin
stefmolinhttps://github.com/stefmolin
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#issue-1667350461
#25625https://github.com/matplotlib/matplotlib/issues/25625
buildhttps://matplotlib.org/devel/documenting_mpl.html#building-the-docs
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#issuecomment-1509052234
#24976https://github.com/matplotlib/matplotlib/pull/24976
@timhoffmhttps://github.com/timhoffm
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#issuecomment-1509131296
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
@ksundenhttps://github.com/ksunden
https://matplotlib.org/stable/api/transformations.html#matplotlib.transforms.BboxBase.intersectionhttps://matplotlib.org/stable/api/transformations.html#matplotlib.transforms.BboxBase.intersection
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#issuecomment-1509254291
@timhoffmhttps://github.com/timhoffm
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
v3.7.2https://github.com/matplotlib/matplotlib/milestone/81
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#event-9011733549
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Apr 14, 2023 https://github.com/matplotlib/matplotlib/pull/25681#pullrequestreview-1386173482
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25681/files
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Apr 14, 2023https://github.com/matplotlib/matplotlib/pull/25681#issuecomment-1509327001
matplotlib/lib/matplotlib/text.pyhttps://github.com/matplotlib/matplotlib/blob/b86ebbafe4673583345d0a01a6ea205af34c58dc/lib/matplotlib/text.py#L725
b86ebbahttps://github.com/matplotlib/matplotlib/commit/b86ebbafe4673583345d0a01a6ea205af34c58dc
https://user-images.githubusercontent.com/2836374/232161628-21e202c7-7045-42cd-ae9f-39aa118e5ec3.png
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Apr 15, 2023 https://github.com/matplotlib/matplotlib/pull/25681#pullrequestreview-1386298152
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25681/files
QuLogichttps://github.com/QuLogic
https://github.com/matplotlib/matplotlib/pull/25681#pullrequestreview-1386298152
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
lib/matplotlib/tests/test_axes.pyhttps://github.com/matplotlib/matplotlib/pull/25681/files#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
stefmolinhttps://github.com/stefmolin
April 15, 2023 14:40https://github.com/matplotlib/matplotlib/pull/25681#commits-pushed-859993b
https://github.com/stefmolin
BUG: Return null Bbox when there is no intersection for bar_label cen…https://github.com/matplotlib/matplotlib/pull/25681/commits/859993bfcf03e8f3fd2ef5151ff589354e31c7c5
859993bhttps://github.com/matplotlib/matplotlib/pull/25681/commits/859993bfcf03e8f3fd2ef5151ff589354e31c7c5
https://github.com/stefmolin
TST: Add test case for bug fix.https://github.com/matplotlib/matplotlib/pull/25681/commits/17f0ef3a19b4cd5bb7f702af0b9056a2ba089a37
17f0ef3https://github.com/matplotlib/matplotlib/pull/25681/commits/17f0ef3a19b4cd5bb7f702af0b9056a2ba089a37
https://github.com/stefmolin
stefmolinhttps://github.com/stefmolin
force-pushedhttps://github.com/matplotlib/matplotlib/compare/03b91b60932a79451e76f751b338a0cdf1e6cc6e..17f0ef3a19b4cd5bb7f702af0b9056a2ba089a37
03b91b6https://github.com/matplotlib/matplotlib/commit/03b91b60932a79451e76f751b338a0cdf1e6cc6e
17f0ef3https://github.com/matplotlib/matplotlib/commit/17f0ef3a19b4cd5bb7f702af0b9056a2ba089a37
Compare https://github.com/matplotlib/matplotlib/compare/03b91b60932a79451e76f751b338a0cdf1e6cc6e..17f0ef3a19b4cd5bb7f702af0b9056a2ba089a37
April 15, 2023 18:42https://github.com/matplotlib/matplotlib/pull/25681#event-9015004039
https://github.com/stefmolin
TST: Switch to fig.draw_without_rendering() in test.https://github.com/matplotlib/matplotlib/pull/25681/commits/7037e858c781a810b003d37fbf20a42a8c14ccea
7037e85https://github.com/matplotlib/matplotlib/pull/25681/commits/7037e858c781a810b003d37fbf20a42a8c14ccea
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Apr 17, 2023 https://github.com/matplotlib/matplotlib/pull/25681#pullrequestreview-1387301932
View reviewed changes https://github.com/matplotlib/matplotlib/pull/25681/files/7037e858c781a810b003d37fbf20a42a8c14ccea
ksundenhttps://github.com/ksunden
https://github.com/matplotlib/matplotlib/pull/25681#pullrequestreview-1387301932
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/ksunden
ksundenhttps://github.com/ksunden
0e7f29ehttps://github.com/matplotlib/matplotlib/commit/0e7f29e4f55785b0204e18b47a442038cb50a0b8
Apr 17, 2023https://github.com/matplotlib/matplotlib/pull/25681#event-9020092149
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Apr 17, 2023 https://github.com/matplotlib/matplotlib/pull/25681#ref-pullrequest-1670460382
Backport PR #25681 on branch v3.7.x (BUG: Return null Bbox when there is no intersection for bar_label center.) #25705 https://github.com/matplotlib/matplotlib/pull/25705
meeseeksmachinehttps://github.com/meeseeksmachine
Apr 17, 2023 https://github.com/matplotlib/matplotlib/pull/25681#ref-commit-786812e
https://github.com/ksunden
https://github.com/meeseeksmachine
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/786812e27cf88ffa6f87f7efd2f009838bf25ff5
matplotlib#25681https://github.com/matplotlib/matplotlib/pull/25681
: BUG: Return null Bbox when there is no …https://github.com/meeseeksmachine/matplotlib/commit/786812e27cf88ffa6f87f7efd2f009838bf25ff5
786812ehttps://github.com/meeseeksmachine/matplotlib/commit/786812e27cf88ffa6f87f7efd2f009838bf25ff5
oscargushttps://github.com/oscargus
Apr 17, 2023 https://github.com/matplotlib/matplotlib/pull/25681#ref-commit-08e6dc1
https://github.com/oscargus
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/08e6dc12b5c7cc60e5f8df963ab748f46bbfd2b2
#25705https://github.com/matplotlib/matplotlib/pull/25705
from meeseeksmachine/auto-backport-of-pr-25…https://github.com/matplotlib/matplotlib/commit/08e6dc12b5c7cc60e5f8df963ab748f46bbfd2b2
08e6dc1https://github.com/matplotlib/matplotlib/commit/08e6dc12b5c7cc60e5f8df963ab748f46bbfd2b2
#25681https://github.com/matplotlib/matplotlib/pull/25681
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Apr 17, 2023 https://github.com/matplotlib/matplotlib/pull/25681#ref-pullrequest-1671892341
TYP: Fix type hint (and docstring) for Bbox.intersection #25710 https://github.com/matplotlib/matplotlib/pull/25710
https://github.com/mrgransky
mrgranskyhttps://github.com/mrgransky
Apr 20, 2023https://github.com/matplotlib/matplotlib/pull/25681#issuecomment-1516151819
matplotlib/lib/matplotlib/text.pyhttps://github.com/matplotlib/matplotlib/blob/b86ebbafe4673583345d0a01a6ea205af34c58dc/lib/matplotlib/text.py#L725
b86ebbahttps://github.com/matplotlib/matplotlib/commit/b86ebbafe4673583345d0a01a6ea205af34c58dc
https://user-images.githubusercontent.com/2836374/232161628-21e202c7-7045-42cd-ae9f-39aa118e5ec3.png
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Apr 20, 2023 https://github.com/matplotlib/matplotlib/pull/25681#ref-issue-1655730254
[Bug]: RuntimeError when bar_label of stacked bar chart comes to rest outside of plot's Y limit #25625 https://github.com/matplotlib/matplotlib/issues/25625
https://github.com/stefmolin
stefmolinhttps://github.com/stefmolin
July 6, 2023 16:01https://github.com/matplotlib/matplotlib/pull/25681#event-9745573834
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Aug 17, 2025 https://github.com/matplotlib/matplotlib/pull/25681#ref-pullrequest-3286586007
adding check_xytext for NaN values #30381 https://github.com/matplotlib/matplotlib/pull/30381
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/{{ 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%2F25681
https://github.com/QuLogic
QuLogic https://github.com/QuLogic
https://github.com/matplotlib/matplotlib/pull/25681/files/03b91b60932a79451e76f751b338a0cdf1e6cc6e
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/25681/files/03b91b60932a79451e76f751b338a0cdf1e6cc6e
https://github.com/ksunden
ksunden https://github.com/ksunden
https://github.com/matplotlib/matplotlib/pull/25681/files/7037e858c781a810b003d37fbf20a42a8c14ccea
v3.7.2 https://github.com/matplotlib/matplotlib/milestone/81
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/25681
https://github.com/stefmolin
https://github.com/ksunden
https://github.com/timhoffm
https://github.com/tacaswell
https://github.com/mrgransky
https://github.com/QuLogic
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.