René's URL Explorer Experiment


Title: Make Axis.get_tick_space account for tick label rotation by m4nn2609-dot · Pull Request #32056 · matplotlib/matplotlib · GitHub

Open Graph Title: Make Axis.get_tick_space account for tick label rotation by m4nn2609-dot · Pull Request #32056 · matplotlib/matplotlib

X Title: Make Axis.get_tick_space account for tick label rotation by m4nn2609-dot · Pull Request #32056 · matplotlib/matplotlib

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

Open Graph Description: PR summary closes #32005 Axis.get_tick_space() estimates the number of ticks that fit on an axis by dividing the available length by an estimated tick label size. That estimate assumes tick labels ...

X Description: PR summary closes #32005 Axis.get_tick_space() estimates the number of ticks that fit on an axis by dividing the available length by an estimated tick label size. That estimate assumes tick labels ...

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

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:5ab75d8c-1d89-d971-95de-6e643026355e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8310:C5A15:1A640E:237CBD:6A62C67E
html-safe-nonceef776672423389fa2e7b56be1b5ff3fcc5f41b5bb84bc6c2fb7d55b59a89072a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzEwOkM1QTE1OjFBNjQwRToyMzdDQkQ6NkE2MkM2N0UiLCJ2aXNpdG9yX2lkIjoiNDQ2MjcwODUzODMxNTI5NDMzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacda6c5ec85444903b986a73b894d823a7506a237b4fdb300c5d872ee8fdf4a3ae
hovercard-subject-tagpull_request:4077192821
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/32056/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/17220fb3ca115522f1f99b5190921d78ed83ba29e5197b9999148e0cf1575e78/matplotlib/matplotlib/pull/32056
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/17220fb3ca115522f1f99b5190921d78ed83ba29e5197b9999148e0cf1575e78/matplotlib/matplotlib/pull/32056
og:image:altPR summary closes #32005 Axis.get_tick_space() estimates the number of ticks that fit on an axis by dividing the available length by an estimated tick label size. That estimate assumes tick labels ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamem4nn2609-dot
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
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
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://Github.com/matplotlib/matplotlib/pull/32056#start-of-content
https://Github.com/
Sign in https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F32056
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2F32056
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/32056
Reloadhttps://Github.com/matplotlib/matplotlib/pull/32056
Reloadhttps://Github.com/matplotlib/matplotlib/pull/32056
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
matplotlib https://Github.com/matplotlib
matplotlibhttps://Github.com/matplotlib/matplotlib
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
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 418 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
m4nn2609-dothttps://Github.com/m4nn2609-dot
matplotlib:mainhttps://Github.com/matplotlib/matplotlib/tree/main
m4nn2609-dot:fix-tick-space-rotationhttps://Github.com/m4nn2609-dot/matplotlib/tree/fix-tick-space-rotation
Conversationhttps://Github.com/matplotlib/matplotlib/pull/32056
Commits4 (4)https://Github.com/matplotlib/matplotlib/pull/32056/commits
Checkshttps://Github.com/matplotlib/matplotlib/pull/32056/checks
Files changedhttps://Github.com/matplotlib/matplotlib/pull/32056/files
Make Axis.get_tick_space account for tick label rotationhttps://Github.com/matplotlib/matplotlib/pull/32056#top
m4nn2609-dothttps://Github.com/m4nn2609-dot
matplotlib:mainhttps://Github.com/matplotlib/matplotlib/tree/main
m4nn2609-dot:fix-tick-space-rotationhttps://Github.com/m4nn2609-dot/matplotlib/tree/fix-tick-space-rotation
https://Github.com/m4nn2609-dot
m4nn2609-dothttps://Github.com/m4nn2609-dot
Jul 17, 2026https://Github.com/matplotlib/matplotlib/pull/32056#issue-4912167218
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
#32005https://github.com/matplotlib/matplotlib/issues/32005
[Bug]: Axis.get_tick_space could take tick label rotation into account #32005https://github.com/matplotlib/matplotlib/issues/32005
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
Make Axis.get_tick_space account for tick label rotationhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/71e71ffe84e2cec6121ad809753ae0a8154b033c
71e71ffhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/71e71ffe84e2cec6121ad809753ae0a8154b033c
https://Github.com/apps/github-actions
github-actionshttps://Github.com/apps/github-actions
Jul 17, 2026https://Github.com/matplotlib/matplotlib/pull/32056#issuecomment-5004231622
on discourse chathttps://discourse.matplotlib.org/chat/c/matplotlib/2
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/32056
https://Github.com/apps/github-actions
github-actionshttps://Github.com/apps/github-actions
topic: ticks axis labels https://Github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20ticks%20axis%20labels%22
first-contribution https://Github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution
Jul 17, 2026https://Github.com/matplotlib/matplotlib/pull/32056#event-28126123512
https://Github.com/scottshambaugh
scottshambaughhttps://Github.com/scottshambaugh
Jul 18, 2026https://Github.com/matplotlib/matplotlib/pull/32056#issuecomment-5011833356
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
https://Github.com/m4nn2609-dot
m4nn2609-dothttps://Github.com/m4nn2609-dot
Jul 19, 2026https://Github.com/matplotlib/matplotlib/pull/32056#issuecomment-5015099939
https://private-user-images.githubusercontent.com/294705807/623637490-9943c34f-fbfb-4ef1-a65e-9e1a24b43bc4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ4NTg1MzksIm5iZiI6MTc4NDg1ODIzOSwicGF0aCI6Ii8yOTQ3MDU4M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M9MzAwJlgtQW16LVNpZ25hdHVyZT1lODhhYTNhODdlMjM1MzVkZjAyZTlhYjQxMGIyNTJkMzQyN2M5YzJkNzU1YTM2YTY5MjY3ZWIyNDRmM2VmMGJlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.uOUm0zuxX7jQKx3yDIZeuvFU2H8-RpDtD74Nm1_i88k
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
https://Github.com/rcomer
rcomerhttps://Github.com/rcomer
Jul 19, 2026 https://Github.com/matplotlib/matplotlib/pull/32056#pullrequestreview-4728415924
View reviewed changes https://Github.com/matplotlib/matplotlib/pull/32056/files/71e71ffe84e2cec6121ad809753ae0a8154b033c
lib/matplotlib/tests/test_axes.pyhttps://Github.com/matplotlib/matplotlib/pull/32056/files/71e71ffe84e2cec6121ad809753ae0a8154b033c#diff-ef5144bd27a700deb760ef56ccf51dc6fcfe86723f9ffa84df7f024985bf3ee7
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
lib/matplotlib/axis.pyhttps://Github.com/matplotlib/matplotlib/pull/32056/files/71e71ffe84e2cec6121ad809753ae0a8154b033c#diff-04227e6d4900298b309bddab2e848da8cc638da2913c64b5dcf0d800ba2a0c16
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
July 21, 2026 10:05https://Github.com/matplotlib/matplotlib/pull/32056#commits-pushed-d31474f
minimising the computing costhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/d31474f5b337125b055dc0a2e65314230cf535d3
d31474fhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/d31474f5b337125b055dc0a2e65314230cf535d3
Simplify _get_tick_label_rotation per review feedbackhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/c4557ef80903785e442d37f232a82006e569a363
c4557efhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/c4557ef80903785e442d37f232a82006e569a363
ruff error fixedhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/25ed72baa9a7cb698c452a975f1aff96171b62e2
25ed72bhttps://Github.com/matplotlib/matplotlib/pull/32056/commits/25ed72baa9a7cb698c452a975f1aff96171b62e2
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%2F32056
https://Github.com/rcomer
rcomer https://Github.com/rcomer
https://Github.com/matplotlib/matplotlib/pull/32056/files/71e71ffe84e2cec6121ad809753ae0a8154b033c
first-contribution https://Github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3Afirst-contribution
topic: ticks axis labels https://Github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20ticks%20axis%20labels%22
[Bug]: Axis.get_tick_space could take tick label rotation into account https://github.com/matplotlib/matplotlib/issues/32005
Please reload this pagehttps://Github.com/matplotlib/matplotlib/pull/32056
https://Github.com/m4nn2609-dot
https://Github.com/scottshambaugh
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.