| 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:fd302063-f162-d4c9-5822-708b13ee0571 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88BC:328753:2C43135:3DE9401:6A50D936 |
| html-safe-nonce | bbf72b113e08a055e956dc0c92fdef646f3d88917fcfa3c3db384532cff83959 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEJDOjMyODc1MzoyQzQzMTM1OjNERTk0MDE6NkE1MEQ5MzYiLCJ2aXNpdG9yX2lkIjoiNzQzMjE4NDYyMjUxODE2Mzc2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f861ddff44f3ef5c5b56423f1504f7202823140dd8ace881599c19f94ab167a2 |
| hovercard-subject-tag | pull_request:1363230552 |
| 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/25962/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/988ea48c1aa98cbd88b756e90992511ce19b2b5914f4945026f52f895b5c6106/matplotlib/matplotlib/pull/25962 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/988ea48c1aa98cbd88b756e90992511ce19b2b5914f4945026f52f895b5c6106/matplotlib/matplotlib/pull/25962 |
| og:image:alt | PR summary
I recently came across a use case where I wanted to manually tweak axis limits, but also apply the margins which are added when autoscaling. It took me a while to figure out how to do th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dlukes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 73ad5c4eaffed7bb3637024653eabdbca84a855e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/25962#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F25962 |
| 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%2F25962 |
|
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/25962 |
| Reload | https://github.com/matplotlib/matplotlib/pull/25962 |
| Reload | https://github.com/matplotlib/matplotlib/pull/25962 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
|
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
411
| 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 |
| dlukes | https://github.com/dlukes |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| dlukes:doc/setlim-datalim | https://github.com/dlukes/matplotlib/tree/doc/setlim-datalim |
| Conversation | https://github.com/matplotlib/matplotlib/pull/25962 |
| Commits1 (1) | https://github.com/matplotlib/matplotlib/pull/25962/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/25962/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/25962/files |
| Hint how to set axis limits with margins | https://github.com/matplotlib/matplotlib/pull/25962#top |
| dlukes | https://github.com/dlukes |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| dlukes:doc/setlim-datalim | https://github.com/dlukes/matplotlib/tree/doc/setlim-datalim |
|
| https://github.com/dlukes |
| dlukes | https://github.com/dlukes |
| May 24, 2023 | https://github.com/matplotlib/matplotlib/pull/25962#issue-1724117774 |
| 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/documenting_mpl.html#writing-examples-and-tutorials |
| directive and release note | https://matplotlib.org/devdocs/devel/coding_guide.html#new-features-and-api-changes |
| general | https://matplotlib.org/devdocs/devel/documenting_mpl.html#writing-rest-pages |
| docstring | https://matplotlib.org/devdocs/devel/documenting_mpl.html#writing-docstrings |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
|
| https://github.com/dlukes |
| Hint how to set axis limits with margins | https://github.com/matplotlib/matplotlib/pull/25962/commits/6d5f0596281a6fd8269b51cc14d95e1e63a63b79 |
| 6d5f059 | https://github.com/matplotlib/matplotlib/pull/25962/commits/6d5f0596281a6fd8269b51cc14d95e1e63a63b79 |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
|
topic: axes
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20axes%22 |
| May 24, 2023 | https://github.com/matplotlib/matplotlib/pull/25962#event-9328604750 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
May 24, 2023
| https://github.com/matplotlib/matplotlib/pull/25962#pullrequestreview-1442050738 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/25962/files/6d5f0596281a6fd8269b51cc14d95e1e63a63b79 |
| github-actions | https://github.com/apps/github-actions |
| https://github.com/matplotlib/matplotlib/pull/25962#pullrequestreview-1442050738 |
| 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/25962 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
Documentation
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3ADocumentation |
|
status: needs review
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22 |
| May 28, 2023 | https://github.com/matplotlib/matplotlib/pull/25962#event-9362299692 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jun 1, 2023
| https://github.com/matplotlib/matplotlib/pull/25962#ref-pullrequest-1718390522 |
|
“Inactive” workflow: bump operations to 175
#25938
| https://github.com/matplotlib/matplotlib/pull/25938 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Jun 1, 2023 | https://github.com/matplotlib/matplotlib/pull/25962#issuecomment-1571602517 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
Aug 2, 2023
| https://github.com/matplotlib/matplotlib/pull/25962#ref-issue-1799236229 |
|
[ENH]: Adapt 2-dim histogram axis limits to content
#26288
| https://github.com/matplotlib/matplotlib/issues/26288 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
|
status: needs review
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22 |
| Nov 23, 2025 | https://github.com/matplotlib/matplotlib/pull/25962#event-21122002074 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Nov 23, 2025 | https://github.com/matplotlib/matplotlib/pull/25962#issuecomment-3567955092 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
| https://github.com/rcomer |
| rcomer | https://github.com/rcomer |
| Nov 23, 2025 | https://github.com/matplotlib/matplotlib/pull/25962#event-21122004145 |
| https://github.com/melissawm |
| melissawm | https://github.com/melissawm |
| First Time Contributors | https://github.com/orgs/matplotlib/projects/1 |
| Mar 6, 2026 | https://github.com/matplotlib/matplotlib/pull/25962#event-23342200057 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ 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%2F25962 |
|
| https://github.com/apps/github-actions |
|
github-actions[bot]
| https://github.com/apps/github-actions |
|
| https://github.com/matplotlib/matplotlib/pull/25962/files/6d5f0596281a6fd8269b51cc14d95e1e63a63b79 |
|
Documentation
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3ADocumentation |
|
topic: axes
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20axes%22 |
|
First Time Contributors
| https://github.com/orgs/matplotlib/projects/1 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/25962 |
|
| https://github.com/dlukes |
|
| https://github.com/timhoffm |
|
| https://github.com/rcomer |
|
| https://github.com/melissawm |
|
| 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 |