René's URL Explorer Experiment


Title: "matches" attribute interfering with autorange · Issue #5095 · plotly/plotly.js · GitHub

Open Graph Title: "matches" attribute interfering with autorange · Issue #5095 · plotly/plotly.js

X Title: "matches" attribute interfering with autorange · Issue #5095 · plotly/plotly.js

Description: When I use two matching axes in my diagram, autorange doesn't seem to work properly.

X Description: When I use two matching axes in my diagram, autorange doesn't seem to work properly. <head> <!-- Load plotly.js into the DOM --> <script src='https://cdn.plot.ly/plotly-lates...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"matches\" attribute interfering with autorange","articleBody":"When I use two matching axes in my diagram, autorange doesn't seem to work properly.\r\n\r\n```\r\n\u003chead>\r\n\t\u003c!-- Load plotly.js into the DOM -->\r\n\t\u003cscript src='https://cdn.plot.ly/plotly-latest.min.js'>\u003c/script>\r\n\u003c/head>\r\n\u003cbody>\r\n\t\u003cdiv id='myDiv'>\u003c!-- Plotly chart will be drawn inside this DIV -->\u003c/div>\r\n\u003c/body>\r\n```\r\n\r\n```\r\nvar trace0 = {\r\n  x: [0,1,2],\r\n  y: [1,2,1],\r\n  //y: [-2,3,8],\r\n  yaxis:\"y\"\r\n}\r\n\r\nvar data = [\r\n  trace0,\r\n  {yaxis: \"y2\"}\r\n]\r\n\r\nvar layout = {\r\n    width: 800,\r\n    title: \"matches interfering with autorange\",\r\n    yaxis2: {\r\n      matches: \"y\",\r\n      side: \"right\",\r\n      overlaying: \"y\",\r\n    },\r\n}\r\n\r\nPlotly.newPlot('myDiv', data, layout)\r\n```\r\n\r\nThe range should automatically adapt to the y values and be around [1,2] (+ some margin), but it instead becomes [-1,4], which I believe is some hard coded default range. When I change the y values to below -1 and/or above 4, the autorange is computed correctly and extends to a larger range to fit all the points. When the **matches** attribute is removed, or when the empty data set linked to the second y axis is removed, the autorange works also for the original smaller range.","author":{"url":"https://github.com/kricka91","@type":"Person","name":"kricka91"},"datePublished":"2020-08-24T07:13:04Z","url":"https://github.com/plotly/plotly.js/issues/5095"}

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:466f1fd6-64c2-ef57-4154-b4a719bea39d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id90B2:DB09F:266D849:3102630:6B019BB2
html-safe-nonce67f1ce4bd1dd5f89860d42e6aad5a8b873d1da0591f6a09afc2bcc43d703e90e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEIyOkRCMDlGOjI2NkQ4NDk6MzEwMjYzMDo2QjAxOUJCMiIsInZpc2l0b3JfaWQiOiIxNTE0NDM0MjU5NTMwNjUyNTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6b59c87b135e9db93b0be5ee004e8b4fec9001b38eabc00963fd6ee7684f5218
hovercard-subject-tagissue:684427510
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/5095/issue_layout
twitter:imagehttps://opengraph.githubassets.com/99d290be3edcd12a8c420b47f95354f0c960daa95f922f077db876f9385af03c/plotly/plotly.js/issues/5095
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/99d290be3edcd12a8c420b47f95354f0c960daa95f922f077db876f9385af03c/plotly/plotly.js/issues/5095
og:image:altWhen I use two matching axes in my diagram, autorange doesn't seem to work properly.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekricka91
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/5095#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F5095
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%2F5095
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/5095
Reloadhttps://github.com/plotly/plotly.js/issues/5095
Reloadhttps://github.com/plotly/plotly.js/issues/5095
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/5095
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/5095
"matches" attribute interfering with autorangehttps://github.com/plotly/plotly.js/issues/5095#top
https://github.com/kricka91
kricka91https://github.com/kricka91
on Aug 24, 2020https://github.com/plotly/plotly.js/issues/5095#issue-684427510
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
on Nov 26, 2020https://github.com/plotly/plotly.js/issues/5095#issuecomment-734358382
@alexcjohnsonhttps://github.com/alexcjohnson
#5287https://github.com/plotly/plotly.js/pull/5287
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Nov 30, 2020https://github.com/plotly/plotly.js/issues/5095#issuecomment-736085658
@nicolaskruchtenhttps://github.com/nicolaskruchten
#5287https://github.com/plotly/plotly.js/pull/5287
https://rreusser.github.io/plotly-mock-viewer/https://rreusser.github.io/plotly-mock-viewer/
@kricka91https://github.com/kricka91
alexcjohnsonhttps://github.com/alexcjohnson
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 30, 2020https://github.com/plotly/plotly.js/issues/5095#event-4054173482
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/5095
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/5095
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.