René's URL Explorer Experiment


Title: Correctly calculate margins on log scales by diazona · Pull Request #4592 · matplotlib/matplotlib · GitHub

Open Graph Title: Correctly calculate margins on log scales by diazona · Pull Request #4592 · matplotlib/matplotlib

X Title: Correctly calculate margins on log scales by diazona · Pull Request #4592 · matplotlib/matplotlib

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

Open Graph Description: This (very small) change calculates the view limits when a log axis is given a nonzero margin, in a way that gives the same visual effect as for a linear axis.

X Description: This (very small) change calculates the view limits when a log axis is given a nonzero margin, in a way that gives the same visual effect as for a linear axis.

Mail addresses
notifications@github.com
notifications@github.com
notifications@github.com
notifications@github.com

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

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:84c46f8b-156c-96e9-e08e-3e0660c2e926
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id80B6:1B2073:16765BF:1DE191B:6A52B8F5
html-safe-nonce6b5485c904ccb27ec7aa525a434c92aeb28b7cdee717d21af5107ee3e68d9af3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEI2OjFCMjA3MzoxNjc2NUJGOjFERTE5MUI6NkE1MkI4RjUiLCJ2aXNpdG9yX2lkIjoiNTkxODM1MTI5NTEzMjEyMTMzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac557978ae4015179bde33f45124c2bb9f948e2ee34319010fbe3417541a48a45e
hovercard-subject-tagpull_request:39266351
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/4592/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f669062fa28eb05909e6a5e3f247edd49e6096609767efa30d27189051fd0f57/matplotlib/matplotlib/pull/4592
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f669062fa28eb05909e6a5e3f247edd49e6096609767efa30d27189051fd0f57/matplotlib/matplotlib/pull/4592
og:image:altThis (very small) change calculates the view limits when a log axis is given a nonzero margin, in a way that gives the same visual effect as for a linear axis.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamediazona
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/4592#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F4592
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%2F4592
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/4592
Reloadhttps://github.com/matplotlib/matplotlib/pull/4592
Reloadhttps://github.com/matplotlib/matplotlib/pull/4592
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
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 408 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
diazonahttps://github.com/diazona
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
diazona:log_marginshttps://github.com/diazona/matplotlib/tree/log_margins
Conversationhttps://github.com/matplotlib/matplotlib/pull/4592
Commits6 (6)https://github.com/matplotlib/matplotlib/pull/4592/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/4592/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/4592/files
Correctly calculate margins on log scaleshttps://github.com/matplotlib/matplotlib/pull/4592#top
diazonahttps://github.com/diazona
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
diazona:log_marginshttps://github.com/diazona/matplotlib/tree/log_margins
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 6, 2015https://github.com/matplotlib/matplotlib/pull/4592#issue-93276780
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
Correctly calculate margins on log scaleshttps://github.com/matplotlib/matplotlib/pull/4592/commits/7fd427f700724779cb142d90038a3a4c9261aed5
7fd427fhttps://github.com/matplotlib/matplotlib/pull/4592/commits/7fd427f700724779cb142d90038a3a4c9261aed5
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
status: needs review https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
Jul 6, 2015https://github.com/matplotlib/matplotlib/pull/4592#event-348606135
tacaswellhttps://github.com/tacaswell
Jul 6, 2015 https://github.com/matplotlib/matplotlib/pull/4592#discussion-diff-33984528
View reviewed changes https://github.com/matplotlib/matplotlib/pull/4592/files/7fd427f700724779cb142d90038a3a4c9261aed5#diff-eab8def55235f317e1ea06840d82467044586af2a7f9ec994356a14f70509b72
lib/matplotlib/axes/_base.pyhttps://github.com/matplotlib/matplotlib/pull/4592/files#diff-eab8def55235f317e1ea06840d82467044586af2a7f9ec994356a14f70509b72
tacaswellhttps://github.com/tacaswell
Jul 6, 2015https://github.com/matplotlib/matplotlib/pull/4592#discussion_r33984528
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 6, 2015https://github.com/matplotlib/matplotlib/pull/4592#event-349095661
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 6, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119014356
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
diazonahttps://github.com/diazona
July 7, 2015 13:23https://github.com/matplotlib/matplotlib/pull/4592#commits-pushed-81f595d
https://github.com/diazona
Add spaces before comments for PEP8 compliancehttps://github.com/matplotlib/matplotlib/pull/4592/commits/81f595d275208d0ebbb6f73417ba174e637e169d
81f595dhttps://github.com/matplotlib/matplotlib/pull/4592/commits/81f595d275208d0ebbb6f73417ba174e637e169d
https://github.com/diazona
Add test for view limits with marginshttps://github.com/matplotlib/matplotlib/pull/4592/commits/13209d95104c328b0fd570b5e8080c08a3963671
13209d9https://github.com/matplotlib/matplotlib/pull/4592/commits/13209d95104c328b0fd570b5e8080c08a3963671
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119115790
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/WeatherGod
WeatherGodhttps://github.com/WeatherGod
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119302873
#4592 (comment)https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119115790
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119317055
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/WeatherGod
WeatherGodhttps://github.com/WeatherGod
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119318099
#4592 (comment)https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119317055
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/efiring
efiringhttps://github.com/efiring
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119319513
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119320226
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/WeatherGod
WeatherGodhttps://github.com/WeatherGod
Jul 7, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119329499
http://matplotlib.org/users/transforms_tutorial.htmlhttp://matplotlib.org/users/transforms_tutorial.html
#4592 (comment)https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119320226
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 8, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119486610
the codehttps://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_base.py#L2553
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 8, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119549767
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_base.py#L2553https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_base.py#L2553
#4592 (comment)https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-119486610
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 10, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-120479472
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/efiring
efiringhttps://github.com/efiring
Jul 10, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-120490581
@diazonahttps://github.com/diazona
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
tacaswellhttps://github.com/tacaswell
Jul 11, 2015 https://github.com/matplotlib/matplotlib/pull/4592#discussion-diff-34413531
View reviewed changes https://github.com/matplotlib/matplotlib/pull/4592/files/13209d95104c328b0fd570b5e8080c08a3963671#diff-eab8def55235f317e1ea06840d82467044586af2a7f9ec994356a14f70509b72
lib/matplotlib/axes/_base.pyhttps://github.com/matplotlib/matplotlib/pull/4592/files#diff-eab8def55235f317e1ea06840d82467044586af2a7f9ec994356a14f70509b72
tacaswellhttps://github.com/tacaswell
Jul 11, 2015https://github.com/matplotlib/matplotlib/pull/4592#discussion_r34413531
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
diazonahttps://github.com/diazona
Jul 12, 2015https://github.com/matplotlib/matplotlib/pull/4592#discussion_r34422315
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
status: needs revision https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20revision%22
status: needs review https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
Jul 11, 2015https://github.com/matplotlib/matplotlib/pull/4592#event-353585989
diazonahttps://github.com/diazona
July 13, 2015 00:53https://github.com/matplotlib/matplotlib/pull/4592#commits-pushed-7634f5d
https://github.com/diazona
Implement margins with arbitrary separable transformations.https://github.com/matplotlib/matplotlib/pull/4592/commits/7634f5dd10878948412e7d6c7b78898231e305a1
7634f5dhttps://github.com/matplotlib/matplotlib/pull/4592/commits/7634f5dd10878948412e7d6c7b78898231e305a1
https://github.com/diazona
Raise an error when adding margins to non-separable axeshttps://github.com/matplotlib/matplotlib/pull/4592/commits/1714eafaffe6bf9e22039b91b9018decd5a053ea
1714eafhttps://github.com/matplotlib/matplotlib/pull/4592/commits/1714eafaffe6bf9e22039b91b9018decd5a053ea
https://github.com/diazona
diazonahttps://github.com/diazona
Jul 12, 2015https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-120749959
@efiringhttps://github.com/efiring
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Jul 12, 2015https://github.com/matplotlib/matplotlib/pull/4592#event-353888287
https://github.com/diazona
Catch error in scatter() on nonseparable axeshttps://github.com/matplotlib/matplotlib/pull/4592/commits/f685a720a6097afb625c0cd944db951622d0e232
f685a72https://github.com/matplotlib/matplotlib/pull/4592/commits/f685a720a6097afb625c0cd944db951622d0e232
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
status: needs review https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
status: needs revision https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20revision%22
Aug 31, 2015https://github.com/matplotlib/matplotlib/pull/4592#event-396205593
https://github.com/diazona
diazonahttps://github.com/diazona
Mar 21, 2016https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-199202200
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Nov 16, 2016https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-260978109
@efiringhttps://github.com/efiring
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/efiring
efiringhttps://github.com/efiring
Nov 16, 2016https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-261011025
41d7e12https://github.com/matplotlib/matplotlib/commit/41d7e123da84fd7caeb84dbe18d2df48c4752f11
#5583https://github.com/matplotlib/matplotlib/pull/5583
@diazonahttps://github.com/diazona
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Nov 21, 2016https://github.com/matplotlib/matplotlib/pull/4592#issuecomment-261957396
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
diazonahttps://github.com/diazona
Nov 21, 2016https://github.com/matplotlib/matplotlib/pull/4592#event-866616924
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
status: needs review https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22
Nov 24, 2016https://github.com/matplotlib/matplotlib/pull/4592#event-870599882
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%2F4592
v2.1 https://github.com/matplotlib/matplotlib/milestone/12
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/4592
https://github.com/diazona
https://github.com/tacaswell
https://github.com/WeatherGod
https://github.com/efiring
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.