René's URL Explorer Experiment


Title: Faster axis autorange relayout · Issue #2546 · plotly/plotly.js · GitHub

Open Graph Title: Faster axis autorange relayout · Issue #2546 · plotly/plotly.js

X Title: Faster axis autorange relayout · Issue #2546 · plotly/plotly.js

Description: A follow-up on #2527 where I first noticed: double-click (i.e auto/reset range) performance. This thing currently goes through editType: 'calc' which is slow as a turtle. I'll try to cache the autorange value somewhere (and clearing it w...

Open Graph Description: A follow-up on #2527 where I first noticed: double-click (i.e auto/reset range) performance. This thing currently goes through editType: 'calc' which is slow as a turtle. I'll try to cache the auto...

X Description: A follow-up on #2527 where I first noticed: double-click (i.e auto/reset range) performance. This thing currently goes through editType: 'calc' which is slow as a turtle. I'll try to ca...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Faster axis autorange relayout","articleBody":"A follow-up on https://github.com/plotly/plotly.js/pull/2527 where I first noticed:\r\n\r\n> double-click (i.e auto/reset range) performance. This thing currently goes through editType: 'calc' which is slow as a turtle. I'll try to cache the autorange value somewhere (and clearing it when new data comes in) and use the axrange pathway to speed thing up. This will benefit big data gl and svg graphs too!\r\n\r\nand @alexcjohnson replied:\r\n\r\n> Axes.expand (which happens during calc does nothing if the axis isn't autoranged - which can speed up initial drawing but means if you turn on autorange later you don't know whether ax._min/_max are populated. We could either calculate min/max no matter what during calc, or at least stash the arrays & options used to generate them so that when autorange is enabled we can pull it back out and proceed with the calculation without needing to go all the way through calc again.\r\n\r\n> There would also be some advantages to keeping separate track of each trace / object that called Axes.expand - ie keep a separate _min/_max for each trace/shape/annotation etc. and only combine them when finally calculating the range. That would avoid calc for visibility changes, for example (you'd just have to know to include or not include that object's _min/_max) and for moving annotations/shapes, and down the road would allow calc per trace.\r\n\r\n----\r\n\r\nGetting this right will improve double-click axis autorange performance and play an important role in https://github.com/plotly/plotly.js/issues/2358 (faster `extendTraces`) and other autorange-related improvements (e.g. https://github.com/plotly/plotly.js/issues/387)","author":{"url":"https://github.com/etpinard","@type":"Person","name":"etpinard"},"datePublished":"2018-04-11T14:18:30Z","url":"https://github.com/plotly/plotly.js/issues/2546"}

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:f86dc82a-9aa3-c102-ff05-cd102ee894ee
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2FC:EA09B:2809C37:351C58A:6B01ADEF
html-safe-noncee03b98d4429646b3b98a1283faf641abf4d68adfa86b664afc39f56f3fcbb421
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkZDOkVBMDlCOjI4MDlDMzc6MzUxQzU4QTo2QjAxQURFRiIsInZpc2l0b3JfaWQiOiI2Nzk1NDk3NjA1NDE4ODIzMTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb8afc569d3ba9af1c40e446c7b83ca68d9ac9bce140c5045bd872237871916ac
hovercard-subject-tagissue:313344948
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/2546/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa79f8ca33fba6031678e5f21244193e458304f65517be9755970f804128d8ba/plotly/plotly.js/issues/2546
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa79f8ca33fba6031678e5f21244193e458304f65517be9755970f804128d8ba/plotly/plotly.js/issues/2546
og:image:altA follow-up on #2527 where I first noticed: double-click (i.e auto/reset range) performance. This thing currently goes through editType: 'calc' which is slow as a turtle. I'll try to cache the auto...
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/2546#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F2546
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%2F2546
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/2546
Reloadhttps://github.com/plotly/plotly.js/issues/2546
Reloadhttps://github.com/plotly/plotly.js/issues/2546
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/2546
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2546
#2823https://github.com/plotly/plotly.js/pull/2823
Faster axis autorange relayouthttps://github.com/plotly/plotly.js/issues/2546#top
#2823https://github.com/plotly/plotly.js/pull/2823
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Apr 11, 2018https://github.com/plotly/plotly.js/issues/2546#issue-313344948
#2527https://github.com/plotly/plotly.js/pull/2527
@alexcjohnsonhttps://github.com/alexcjohnson
#2358https://github.com/plotly/plotly.js/issues/2358
#387https://github.com/plotly/plotly.js/issues/387
etpinardhttps://github.com/etpinard
type: performancehttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22type%3A%20performance%22
on Apr 11, 2018https://github.com/plotly/plotly.js/issues/2546#event-1568696523
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Jul 16, 2018https://github.com/plotly/plotly.js/issues/2546#issuecomment-405388288
plotly.js/test/jasmine/tests/click_test.jshttps://github.com/plotly/plotly.js/blob/0de19be151be79fa55283fc6f478a1b90f45609e/test/jasmine/tests/click_test.js#L754-L789
0de19behttps://github.com/plotly/plotly.js/commit/0de19be151be79fa55283fc6f478a1b90f45609e
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Jul 16, 2018https://github.com/plotly/plotly.js/issues/2546#issuecomment-405391823
etpinardhttps://github.com/etpinard
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2823https://github.com/plotly/plotly.js/pull/2823
on Aug 2, 2018https://github.com/plotly/plotly.js/issues/2546#event-1768053999
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/2546
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2546
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.