René's URL Explorer Experiment


Title: FIX: show bars when the first location is nan by tacaswell · Pull Request #23751 · matplotlib/matplotlib · GitHub

Open Graph Title: FIX: show bars when the first location is nan by tacaswell · Pull Request #23751 · matplotlib/matplotlib

X Title: FIX: show bars when the first location is nan by tacaswell · Pull Request #23751 · matplotlib/matplotlib

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

Open Graph Description: PR Summary Due to the way we handle units on the bar width having an invalid value in the first position of the x bar (of y of barh) would effectively poison all of the widths making all of the bar...

X Description: PR Summary Due to the way we handle units on the bar width having an invalid value in the first position of the x bar (of y of barh) would effectively poison all of the widths making all of the bar...

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

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:e6e967a9-7d72-6799-87ba-8658f603434d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDA4:1F9FF7:0033:008B:6A510FE0
html-safe-nonce1ec70399def17a0989cf93ff0997ba8bd162376b768f251728336109ad1d2112
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREE0OjFGOUZGNzowMDMzOjAwOEI6NkE1MTBGRTAiLCJ2aXNpdG9yX2lkIjoiMjQzMTE0NzI1MTYzNDA4MTc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1aeddfd3b2e3ef032d6d1c80aa591222cc1555db036ec957ce61e04d7aac5e59
hovercard-subject-tagpull_request:1038399292
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/23751/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e6ac0cb62641885a6fc48100b3480945a1259ce4bac908a940465cf8fae70180/matplotlib/matplotlib/pull/23751
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6ac0cb62641885a6fc48100b3480945a1259ce4bac908a940465cf8fae70180/matplotlib/matplotlib/pull/23751
og:image:altPR Summary Due to the way we handle units on the bar width having an invalid value in the first position of the x bar (of y of barh) would effectively poison all of the widths making all of the bar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametacaswell
hostnamegithub.com
expected-hostnamegithub.com
Noneb076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d
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
releasef9137f6d981cbbfd780af369f80ce890b2d0d2d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/23751#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F23751
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%2F23751
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/23751
Reloadhttps://github.com/matplotlib/matplotlib/pull/23751
Reloadhttps://github.com/matplotlib/matplotlib/pull/23751
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
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 410 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
timhoffmhttps://github.com/timhoffm
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
tacaswell:fix_nan_barshttps://github.com/tacaswell/matplotlib/tree/fix_nan_bars
Conversationhttps://github.com/matplotlib/matplotlib/pull/23751
Commits2 (2)https://github.com/matplotlib/matplotlib/pull/23751/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/23751/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/23751/files
FIX: show bars when the first location is nanhttps://github.com/matplotlib/matplotlib/pull/23751#top
timhoffmhttps://github.com/timhoffm
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
tacaswell:fix_nan_barshttps://github.com/tacaswell/matplotlib/tree/fix_nan_bars
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Aug 26, 2022https://github.com/matplotlib/matplotlib/pull/23751#issue-1352765736
#23687https://github.com/matplotlib/matplotlib/issues/23687
Flake 8https://flake8.pycqa.org/en/latest/
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/tacaswell
FIX: show bars when the first location is nanhttps://github.com/matplotlib/matplotlib/pull/23751/commits/cfb27b348139f635325734ff4509e6d67a4b6e54
cfb27b3https://github.com/matplotlib/matplotlib/pull/23751/commits/cfb27b348139f635325734ff4509e6d67a4b6e54
matplotlib#23687https://github.com/matplotlib/matplotlib/issues/23687
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
v3.7.0https://github.com/matplotlib/matplotlib/milestone/70
Aug 26, 2022https://github.com/matplotlib/matplotlib/pull/23751#event-7270676339
https://github.com/jklymak
jklymakhttps://github.com/jklymak
Aug 26, 2022 https://github.com/matplotlib/matplotlib/pull/23751#pullrequestreview-1087564124
View reviewed changes https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Aug 27, 2022 https://github.com/matplotlib/matplotlib/pull/23751#pullrequestreview-1087668219
View reviewed changes https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
timhoffmhttps://github.com/timhoffm
Aug 27, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r956567370
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
timhoffmhttps://github.com/timhoffm
Aug 27, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r956567648
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
tacaswellhttps://github.com/tacaswell
Sep 13, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r969709872
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
timhoffmhttps://github.com/timhoffm
Sep 13, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r970054138
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
tacaswellhttps://github.com/tacaswell
Sep 13, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r970167694
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Sep 13, 2022 https://github.com/matplotlib/matplotlib/pull/23751#pullrequestreview-1105659854
View reviewed changes https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/anntzer
anntzerhttps://github.com/anntzer
Sep 13, 2022https://github.com/matplotlib/matplotlib/pull/23751#issuecomment-1245404125
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
Sep 13, 2022 https://github.com/matplotlib/matplotlib/pull/23751#pullrequestreview-1106410709
View reviewed changes https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
timhoffmhttps://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/23751#pullrequestreview-1106410709
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
lib/matplotlib/cbook/__init__.pyhttps://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54#diff-22d7b6f88a379f8ed094611e4034b673df1af718cd74a4b2981a192ff08e446f
timhoffmhttps://github.com/timhoffm
Sep 13, 2022https://github.com/matplotlib/matplotlib/pull/23751#discussion_r970054138
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/tacaswell
MNT: shorten logic + docstringhttps://github.com/matplotlib/matplotlib/pull/23751/commits/bbf0cd2610eb253fdfee73276e0a57fb8a28851b
bbf0cd2https://github.com/matplotlib/matplotlib/pull/23751/commits/bbf0cd2610eb253fdfee73276e0a57fb8a28851b
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
force-pushedhttps://github.com/matplotlib/matplotlib/compare/ce5d274b4ac3dfb444a6bb7c4c66a79ecba75c99..bbf0cd2610eb253fdfee73276e0a57fb8a28851b
ce5d274https://github.com/matplotlib/matplotlib/commit/ce5d274b4ac3dfb444a6bb7c4c66a79ecba75c99
bbf0cd2https://github.com/matplotlib/matplotlib/commit/bbf0cd2610eb253fdfee73276e0a57fb8a28851b
Compare https://github.com/matplotlib/matplotlib/compare/ce5d274b4ac3dfb444a6bb7c4c66a79ecba75c99..bbf0cd2610eb253fdfee73276e0a57fb8a28851b
September 13, 2022 23:03https://github.com/matplotlib/matplotlib/pull/23751#event-7380644813
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
v3.7.0https://github.com/matplotlib/matplotlib/milestone/70
v3.6.1https://github.com/matplotlib/matplotlib/milestone/73
Sep 19, 2022https://github.com/matplotlib/matplotlib/pull/23751#event-7415847007
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
91dd120https://github.com/matplotlib/matplotlib/commit/91dd1205cdd5df1410b9b2b9f5e39065cf11fd55
Sep 19, 2022https://github.com/matplotlib/matplotlib/pull/23751#event-7415847569
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Sep 19, 2022 https://github.com/matplotlib/matplotlib/pull/23751#ref-pullrequest-1378328421
Backport PR #23751 on branch v3.6.x (FIX: show bars when the first location is nan) #23956 https://github.com/matplotlib/matplotlib/pull/23956
meeseeksmachinehttps://github.com/meeseeksmachine
Sep 19, 2022 https://github.com/matplotlib/matplotlib/pull/23751#ref-commit-7381e20
https://github.com/timhoffm
https://github.com/meeseeksmachine
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/7381e20463ee168dafc49f64516e289790323a0e
matplotlib#23751https://github.com/matplotlib/matplotlib/pull/23751
: FIX: show bars when the first location …https://github.com/meeseeksmachine/matplotlib/commit/7381e20463ee168dafc49f64516e289790323a0e
7381e20https://github.com/meeseeksmachine/matplotlib/commit/7381e20463ee168dafc49f64516e289790323a0e
timhoffmhttps://github.com/timhoffm
Sep 19, 2022 https://github.com/matplotlib/matplotlib/pull/23751#ref-commit-65ca31c
https://github.com/timhoffm
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/65ca31c1a10986c7851b64c2dd35782eee5a5cca
#23956https://github.com/matplotlib/matplotlib/pull/23956
from meeseeksmachine/auto-backport-of-pr-23…https://github.com/matplotlib/matplotlib/commit/65ca31c1a10986c7851b64c2dd35782eee5a5cca
65ca31chttps://github.com/matplotlib/matplotlib/commit/65ca31c1a10986c7851b64c2dd35782eee5a5cca
#23751https://github.com/matplotlib/matplotlib/pull/23751
https://github.com/oscargus
oscargushttps://github.com/oscargus
Oct 8, 2022 https://github.com/matplotlib/matplotlib/pull/23751#ref-issue-1401925305
[Bug]: ax.bar raises for all-nan data on matplotlib 3.6.1 #24127 https://github.com/matplotlib/matplotlib/issues/24127
https://github.com/gedeck
gedeckhttps://github.com/gedeck
Oct 10, 2022 https://github.com/matplotlib/matplotlib/pull/23751#ref-issue-1403811974
pairplot fails with matplotlib 3.6.1 mwaskom/seaborn#3073 https://github.com/mwaskom/seaborn/issues/3073
https://github.com/rcomer
rcomerhttps://github.com/rcomer
Mar 25, 2023 https://github.com/matplotlib/matplotlib/pull/23751#ref-pullrequest-1640564304
FIX: _safe_first_finite on all non-finite array #25547 https://github.com/matplotlib/matplotlib/pull/25547
https://github.com/rowan-stein
rowan-steinhttps://github.com/rowan-stein
Dec 24, 2025 https://github.com/matplotlib/matplotlib/pull/23751#ref-issue-3761132663
[Bug]: ax.bar raises for all-nan data on matplotlib 3.6.1 — Task 268 — matplotlib__matplotlib-24149 agyn-sandbox/matplotlib#34 https://github.com/agyn-sandbox/matplotlib/issues/34
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%2F23751
https://github.com/anntzer
anntzer https://github.com/anntzer
https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
https://github.com/jklymak
jklymak https://github.com/jklymak
https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
https://github.com/timhoffm
timhoffm https://github.com/timhoffm
https://github.com/matplotlib/matplotlib/pull/23751/files/cfb27b348139f635325734ff4509e6d67a4b6e54
v3.6.1 https://github.com/matplotlib/matplotlib/milestone/73
[Bug]: barplot does not show anything when x or bottom start and end with NaN https://github.com/matplotlib/matplotlib/issues/23687
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/23751
https://github.com/tacaswell
https://github.com/anntzer
https://github.com/jklymak
https://github.com/timhoffm
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.