René's URL Explorer Experiment


Title: Define `__repr__`, not `__str__` for transforms. by anntzer · Pull Request #11173 · matplotlib/matplotlib · GitHub

Open Graph Title: Define `__repr__`, not `__str__` for transforms. by anntzer · Pull Request #11173 · matplotlib/matplotlib

X Title: Define `__repr__`, not `__str__` for transforms. by anntzer · Pull Request #11173 · matplotlib/matplotlib

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

Open Graph Description: str falls back on repr (but not the other way round), so def __repr__(self): return str(self) was causing a recursion error. Defining __repr__ directly side-steps the issue. (https://docs.python.or...

X Description: str falls back on repr (but not the other way round), so def __repr__(self): return str(self) was causing a recursion error. Defining __repr__ directly side-steps the issue. (https://docs.python.or...

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

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:70664faa-5ab7-3319-8a77-e11a0fe56503
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4E8:36864D:558EE9:741ABC:6A559F15
html-safe-noncebee0e8fe9856e1054beb6e0dd50e4a971fed568ccd5e309eeb1ce28c917fd426
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEU4OjM2ODY0RDo1NThFRTk6NzQxQUJDOjZBNTU5RjE1IiwidmlzaXRvcl9pZCI6IjU5NTg5NDk0MjYyNTMxMTEwNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac11928fae7be07edab46db87a782d0d2042d26cbbe2f822890239c75ee6b9d0e4
hovercard-subject-tagpull_request:186135113
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/11173/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e1eb97110ad3e191561cec0427d1fc203f38e75cba33b6a990bf387ed4bbafb4/matplotlib/matplotlib/pull/11173
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1eb97110ad3e191561cec0427d1fc203f38e75cba33b6a990bf387ed4bbafb4/matplotlib/matplotlib/pull/11173
og:image:altstr falls back on repr (but not the other way round), so def __repr__(self): return str(self) was causing a recursion error. Defining __repr__ directly side-steps the issue. (https://docs.python.or...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanntzer
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
releaseaa21baa44893467b0b640d0300538f84ca8c475b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/11173#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F11173
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%2F11173
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/11173
Reloadhttps://github.com/matplotlib/matplotlib/pull/11173
Reloadhttps://github.com/matplotlib/matplotlib/pull/11173
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
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
anntzerhttps://github.com/anntzer
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
anntzer:transformreprhttps://github.com/anntzer/matplotlib/tree/transformrepr
Conversationhttps://github.com/matplotlib/matplotlib/pull/11173
Commits1 (1)https://github.com/matplotlib/matplotlib/pull/11173/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/11173/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/11173/files
Define __repr__, not __str__ for transforms.https://github.com/matplotlib/matplotlib/pull/11173#top
anntzerhttps://github.com/anntzer
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
anntzer:transformreprhttps://github.com/anntzer/matplotlib/tree/transformrepr
https://github.com/anntzer
anntzerhttps://github.com/anntzer
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issue-320472510
https://docs.python.org/3/reference/datamodel.html#object.__strhttps://docs.python.org/3/reference/datamodel.html#object.__str
#11171https://github.com/matplotlib/matplotlib/pull/11171
#11163https://github.com/matplotlib/matplotlib/issues/11163
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/anntzer
anntzerhttps://github.com/anntzer
v2.2.3https://github.com/matplotlib/matplotlib/milestone/34
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#event-1611085255
https://github.com/anntzer
Define __repr__, not __str__ for transforms.https://github.com/matplotlib/matplotlib/pull/11173/commits/43126e33c8abe52f21a11ca92424fd27410ccb59
43126e3https://github.com/matplotlib/matplotlib/pull/11173/commits/43126e33c8abe52f21a11ca92424fd27410ccb59
https://github.com/anntzer
anntzerhttps://github.com/anntzer
force-pushedhttps://github.com/matplotlib/matplotlib/compare/2e92a65264cb6a0c2c8f312954f1662ed697ea15..43126e33c8abe52f21a11ca92424fd27410ccb59
2e92a65https://github.com/matplotlib/matplotlib/commit/2e92a65264cb6a0c2c8f312954f1662ed697ea15
43126e3https://github.com/matplotlib/matplotlib/commit/43126e33c8abe52f21a11ca92424fd27410ccb59
Compare https://github.com/matplotlib/matplotlib/compare/2e92a65264cb6a0c2c8f312954f1662ed697ea15..43126e33c8abe52f21a11ca92424fd27410ccb59
May 5, 2018 06:20https://github.com/matplotlib/matplotlib/pull/11173#event-1611147253
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386813110
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 5, 2018 https://github.com/matplotlib/matplotlib/pull/11173#ref-pullrequest-320409708
FIX: str method for SymmetricalLogTransform #11171 https://github.com/matplotlib/matplotlib/pull/11171
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386817186
https://stackoverflow.com/questions/1436703/difference-between-str-and-reprhttps://stackoverflow.com/questions/1436703/difference-between-str-and-repr
@timhoffmhttps://github.com/timhoffm
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/ImportanceOfBeingErnest
ImportanceOfBeingErnesthttps://github.com/ImportanceOfBeingErnest
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386818448
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386818716
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/ImportanceOfBeingErnest
ImportanceOfBeingErnesthttps://github.com/ImportanceOfBeingErnest
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386819260
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386819408
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/timhoffm
timhoffmhttps://github.com/timhoffm
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386821808
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://docs.python.org/2/reference/datamodel.html?highlight=repr#object.__repr__https://docs.python.org/2/reference/datamodel.html?highlight=repr#object.__repr__
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/ImportanceOfBeingErnest
ImportanceOfBeingErnesthttps://github.com/ImportanceOfBeingErnest
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386824496
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/anntzer
anntzerhttps://github.com/anntzer
May 5, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-386835527
@QuLogichttps://github.com/QuLogic
#9421 (comment)https://github.com/matplotlib/matplotlib/pull/9421#discussion_r147596625
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 7, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-387212738
Improve reprs of transforms. #9421https://github.com/matplotlib/matplotlib/pull/9421
@efiringhttps://github.com/efiring
@story645https://github.com/story645
https://docs.python.org/3/reference/datamodel.html#object.__repr__https://docs.python.org/3/reference/datamodel.html#object.__repr__
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 7, 2018 https://github.com/matplotlib/matplotlib/pull/11173#ref-pullrequest-320967926
FIX: remove recursive call to str in transform repr #11189 https://github.com/matplotlib/matplotlib/pull/11189
https://github.com/jklymak
jklymakhttps://github.com/jklymak
May 7, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-387216310
#11189https://github.com/matplotlib/matplotlib/pull/11189
@timhoffmhttps://github.com/timhoffm
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/efiring
efiringhttps://github.com/efiring
May 8, 2018https://github.com/matplotlib/matplotlib/pull/11173#issuecomment-387283491
#11189https://github.com/matplotlib/matplotlib/pull/11189
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/efiring
efiringhttps://github.com/efiring
May 8, 2018https://github.com/matplotlib/matplotlib/pull/11173#event-1614410491
https://github.com/anntzer
anntzerhttps://github.com/anntzer
May 8, 2018 04:55https://github.com/matplotlib/matplotlib/pull/11173#event-1614414364
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%2F11173
v2.2.3 https://github.com/matplotlib/matplotlib/milestone/34
RecursionError when calling get_yaxis_transform() on a Symlog-scaled axis. https://github.com/matplotlib/matplotlib/issues/11163
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/11173
https://github.com/anntzer
https://github.com/timhoffm
https://github.com/jklymak
https://github.com/ImportanceOfBeingErnest
https://github.com/efiring
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.