René's URL Explorer Experiment


Title: Implement `scaleanchor` domain constraints on matching axes · Issue #3539 · plotly/plotly.js · GitHub

Open Graph Title: Implement `scaleanchor` domain constraints on matching axes · Issue #3539 · plotly/plotly.js

X Title: Implement `scaleanchor` domain constraints on matching axes · Issue #3539 · plotly/plotly.js

Description: follow-up issue from #3506 where matches and scaleanchor constraints on the same axes are disallowed. Pasting some of @alexcjohnson 's comment on the topic here: #3506 (comment) yeah, that one has some problems... looks like after a zoom...

Open Graph Description: follow-up issue from #3506 where matches and scaleanchor constraints on the same axes are disallowed. Pasting some of @alexcjohnson 's comment on the topic here: #3506 (comment) yeah, that one has ...

X Description: follow-up issue from #3506 where matches and scaleanchor constraints on the same axes are disallowed. Pasting some of @alexcjohnson 's comment on the topic here: #3506 (comment) yeah, that one ...

Opengraph URL: https://github.com/plotly/plotly.js/issues/3539

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement `scaleanchor` domain constraints on matching axes","articleBody":"follow-up issue from https://github.com/plotly/plotly.js/pull/3506 where `matches` and `scaleanchor` constraints on the same axes are disallowed.\r\n\r\nPasting some of @alexcjohnson 's comment on the topic here:\r\n\r\n-----------\r\n\r\nhttps://github.com/plotly/plotly.js/pull/3506#issuecomment-459966778\r\n\r\nyeah, that one has some problems... looks like after a zoom/pan it manages to satisfy all the constraints (the very shrunken subplots I think are correct), but initially or after an autorange it does not.\r\n![axes_scaleanchor-with-matches](https://user-images.githubusercontent.com/2678795/52164649-ab3e2b80-26c2-11e9-96af-8f4c44c75063.gif)\r\n\r\nHere's a more extreme example. Kind of a pathological case, where each subplot has x&y matching, and the x of each subplot is supposed to scale with the y of the previous... this is the case I think compounds height/width differences, so it should be expected that either the first or last subplot gets its data very compressed if you stretch it to a very non-square size. Right now it appears to apply all the `scaleanchor` constraints, but all the `matches` constraints except the last are lost.\r\n\u003cimg width=\"462\" alt=\"screen shot 2019-02-02 at 8 22 00 am\" src=\"https://user-images.githubusercontent.com/2678795/52164706-a332bb80-26c3-11e9-8171-58872d2154e1.png\">\r\n```js\r\nPlotly.newPlot(gd,[\r\n  {y:[1,2]},\r\n  {y:[1,2],xaxis:'x2',yaxis:'y2'},\r\n  {y:[1,2],xaxis:'x3',yaxis:'y3'},\r\n  {y:[1,2],xaxis:'x4',yaxis:'y4'}\r\n], {\r\n  yaxis: {matches: 'x'},\r\n  xaxis2: {scaleanchor: 'y'},\r\n  yaxis2: {matches: 'x2'},\r\n  xaxis3: {scaleanchor: 'y2'},\r\n  yaxis3: {matches: 'x3'},\r\n  xaxis4: {scaleanchor: 'y3'},\r\n  yaxis4: {matches: 'x4'},\r\n  grid: {rows: 2, columns: 2, pattern: 'independent'},\r\n  width: 500,\r\n  height: 400\r\n})\r\n```\r\n\r\nI haven't looked at your code in detail yet, but in order to satisfy this kind of chained constraints seems to me it may be necessary to generate `scaleanchor` constraints based on each `matches` constraint (using `gs._w` and `gs._h`) and use that to run through the `scaleanchor` algorithm, and only after that apply the `matches` constraints explicitly.\r\n\r\n-----\r\n\r\nFrom a private slack convo:\r\n\r\nalso re: matches and scaleanchor constraints with different target axes - the mock I set up has two separate constraints on each axis (except the ends of the chain). My comment “the only allowed values of scaleanchor would be ‘x’ or nothing.” was about a single constraint, ie the constraint defined within one axis’s attributes. If you’ve already said `yaxis.matches: 'x'`it wouldn’t make sense to say `yaxis.scaleanchor: 'x2'` because that would be setting up a completely different constraint. But it should still be OK to say `xaxis2.scaleanchor: 'y'`. After you’ve already provided `matches` it seemed to me the only purpose of `scaleanchor` is “do you also want to constrain the scale along with the matching constraint”","author":{"url":"https://github.com/etpinard","@type":"Person","name":"etpinard"},"datePublished":"2019-02-12T18:32:17Z","url":"https://github.com/plotly/plotly.js/issues/3539"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2a0f8cd3-de2a-72de-a690-ac12b02ebfb4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE92C:3E4205:226C6B5:2E08523:6B0193EF
html-safe-noncedca170984b8740e1fa0b9421f4d632365647a2e47e33c854e8af5448ecc68a26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTJDOjNFNDIwNToyMjZDNkI1OjJFMDg1MjM6NkIwMTkzRUYiLCJ2aXNpdG9yX2lkIjoiNjQwNTYzOTIzMjA3MjgxNTU5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac47fa17e1f44f8709a84fe810acc892227184168c794c163616e85c3b7da497e7
hovercard-subject-tagissue:409440742
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/3539/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f8ef7cb4849b4fbd62c17386a5605e4d56fce4a0a55ba27f2a7a0137372b251a/plotly/plotly.js/issues/3539
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f8ef7cb4849b4fbd62c17386a5605e4d56fce4a0a55ba27f2a7a0137372b251a/plotly/plotly.js/issues/3539
og:image:altfollow-up issue from #3506 where matches and scaleanchor constraints on the same axes are disallowed. Pasting some of @alexcjohnson 's comment on the topic here: #3506 (comment) yeah, that one has ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameetpinard
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/3539#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F3539
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F3539
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/issues/3539
Reloadhttps://github.com/plotly/plotly.js/issues/3539
Reloadhttps://github.com/plotly/plotly.js/issues/3539
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/3539
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/3539
#5287https://github.com/plotly/plotly.js/pull/5287
Implement scaleanchor domain constraints on matching axeshttps://github.com/plotly/plotly.js/issues/3539#top
#5287https://github.com/plotly/plotly.js/pull/5287
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Feb 12, 2019https://github.com/plotly/plotly.js/issues/3539#issue-409440742
#3506https://github.com/plotly/plotly.js/pull/3506
@alexcjohnsonhttps://github.com/alexcjohnson
#3506 (comment)https://github.com/plotly/plotly.js/pull/3506#issuecomment-459966778
https://user-images.githubusercontent.com/2678795/52164649-ab3e2b80-26c2-11e9-96af-8f4c44c75063.gif
https://user-images.githubusercontent.com/2678795/52164706-a332bb80-26c3-11e9-8171-58872d2154e1.png
etpinardhttps://github.com/etpinard
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
on Feb 12, 2019https://github.com/plotly/plotly.js/issues/3539#event-2134579823
https://github.com/emmanuelle
emmanuellehttps://github.com/emmanuelle
on May 24, 2020https://github.com/plotly/plotly.js/issues/3539#issuecomment-633229015
https://community.plotly.com/t/synchronizing-view-zoom-of-several-images/39661https://community.plotly.com/t/synchronizing-view-zoom-of-several-images/39661
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
on Oct 6, 2020https://github.com/plotly/plotly.js/issues/3539#issuecomment-704299336
91431echttps://github.com/plotly/plotly.js/commit/91431ec425052d0a5ee90182b08adafc6c53cd15
plotly/plotly.py#2746https://github.com/plotly/plotly.py/pull/2746
alexcjohnsonhttps://github.com/alexcjohnson
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5287https://github.com/plotly/plotly.js/pull/5287
on Nov 21, 2020https://github.com/plotly/plotly.js/issues/3539#event-4024151935
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/3539
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/3539
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
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.