René's URL Explorer Experiment


Title: Automargin pipeline · Issue #2704 · plotly/plotly.js · GitHub

Open Graph Title: Automargin pipeline · Issue #2704 · plotly/plotly.js

X Title: Automargin pipeline · Issue #2704 · plotly/plotly.js

Description: Our automatic margin expansion system is a mess: components generally determine their sizes - and thus the amount they need to increase the margin - only while being drawn. So in order for the new margin to take effect, the component get...

Open Graph Description: Our automatic margin expansion system is a mess: components generally determine their sizes - and thus the amount they need to increase the margin - only while being drawn. So in order for the new ...

X Description: Our automatic margin expansion system is a mess: components generally determine their sizes - and thus the amount they need to increase the margin - only while being drawn. So in order for the new ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automargin pipeline","articleBody":"Our automatic margin expansion system is a mess: components generally determine their sizes - and thus the amount they need to increase the margin - only while being drawn. So in order for the new margin to take effect, the component gets drawn, which updates the margin calculation, then all of these components need to be drawn again if the new margin is different from the old one. The situation is even worse for axis automargins, since axes are drawn later in the process, changes they make to the margins result in an entire redraw of the plot, ie nearly doubling the initial plot time.\r\n\r\nMuch better would be to separate out margin calculations from component drawing; that way we can determine all sizes before we draw anything, then each component need only be drawn once. The challenge with this is that these sizes depend on text bounding boxes, so in order for this not to add its own overhead we may need to create the text elements as part of the margin calculation step, stash them somewhere hidden, and then pull them back out during the drawing step and attach them to the component. Or perhaps the two steps are 1) component creation and sizing, 2) component positioning and updating?\r\n\r\nSome related discussion happened during #2681. See also #1988 and #2434.","author":{"url":"https://github.com/alexcjohnson","@type":"Person","name":"alexcjohnson"},"datePublished":"2018-06-06T16:53:38Z","url":"https://github.com/plotly/plotly.js/issues/2704"}

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:7fb0097c-83e1-b43d-91fb-af97710ef9f1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB006:2454CC:216B8ED:2A5C6FF:6B017746
html-safe-noncee8cf836b64f2900d70da185c380e8438bf7aa852b326db55d9b176b6c2b0929a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDA2OjI0NTRDQzoyMTZCOEVEOjJBNUM2RkY6NkIwMTc3NDYiLCJ2aXNpdG9yX2lkIjoiMTgzODA2NzQ3NTU3NzY2NTM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0a5bc2558efd16f714ce71298e85db50fdf115567e99f87314c2dd1f87f6d0ac
hovercard-subject-tagissue:329951423
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/2704/issue_layout
twitter:imagehttps://opengraph.githubassets.com/63ab7e898b3ae82bddfe603c2ffbff814b4bd270283eba7cf8fddc78ac19871c/plotly/plotly.js/issues/2704
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/63ab7e898b3ae82bddfe603c2ffbff814b4bd270283eba7cf8fddc78ac19871c/plotly/plotly.js/issues/2704
og:image:altOur automatic margin expansion system is a mess: components generally determine their sizes - and thus the amount they need to increase the margin - only while being drawn. So in order for the new ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexcjohnson
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/2704#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F2704
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%2F2704
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/2704
Reloadhttps://github.com/plotly/plotly.js/issues/2704
Reloadhttps://github.com/plotly/plotly.js/issues/2704
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/2704
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2704
Automargin pipelinehttps://github.com/plotly/plotly.js/issues/2704#top
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Jun 6, 2018https://github.com/plotly/plotly.js/issues/2704#issue-329951423
#2681https://github.com/plotly/plotly.js/pull/2681
#1988https://github.com/plotly/plotly.js/issues/1988
#2434https://github.com/plotly/plotly.js/issues/2434
alexcjohnsonhttps://github.com/alexcjohnson
type: maintenancehttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22type%3A%20maintenance%22
type: performancehttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22type%3A%20performance%22
on Jun 6, 2018https://github.com/plotly/plotly.js/issues/2704#event-1666639720
etpinardhttps://github.com/etpinard
on Jul 4, 2018https://github.com/plotly/plotly.js/issues/2704#event-1716568230
emit 'plotly_afterplot' once during doAutoMargin redrawshttps://github.com/plotly/plotly.js/commit/cb92d7c31cb6bd27a57e2c88a2404c0d7faa5c31
cb92d7chttps://github.com/plotly/plotly.js/commit/cb92d7c31cb6bd27a57e2c88a2404c0d7faa5c31
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
on Jul 18, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-512894139
etpinardhttps://github.com/etpinard
on Jul 25, 2019https://github.com/plotly/plotly.js/issues/2704#event-2510604556
etpinardhttps://github.com/etpinard
v1.50.0https://github.com/plotly/plotly.js/milestone/46
on Jul 25, 2019https://github.com/plotly/plotly.js/issues/2704#event-2510604722
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Aug 23, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-524474154
#4028https://github.com/plotly/plotly.js/issues/4028
axis constraints are sethttps://github.com/plotly/plotly.js/blob/19c0683f24ac26977d7adc51a7ad94c32852f137/src/plots/cartesian/constraints.js#L191-L345
replothttps://github.com/plotly/plotly.js/blob/19c0683f24ac26977d7adc51a7ad94c32852f137/src/plots/plots.js#L1938
scratchhttps://github.com/plotly/plotly.js/blob/19c0683f24ac26977d7adc51a7ad94c32852f137/src/plots/plots.js#L1849
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
on Aug 26, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-524870889
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Sep 5, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-528440886
Splom labels running into each other #3505https://github.com/plotly/plotly.js/issues/3505
Add legend 'auto' x|y and/or 'container' (x|y)ref #1199https://github.com/plotly/plotly.js/issues/1199
graph should handle the case where the display area is significantly small #4155 (comment)https://github.com/plotly/plotly.js/issues/4155#issuecomment-525929245
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Sep 23, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-534302295
#4028https://github.com/plotly/plotly.js/issues/4028
https://github.com/plotly/plotly.js/compare/auto-margin-pipeline-DEVhttps://github.com/plotly/plotly.js/compare/auto-margin-pipeline-DEV
e606c7bhttps://github.com/plotly/plotly.js/commit/e606c7bf0de0eee26da154babbcc7e9f71e6504e
plotly.js/src/plot_api/plot_api.jshttps://github.com/plotly/plotly.js/blob/e606c7bf0de0eee26da154babbcc7e9f71e6504e/src/plot_api/plot_api.js#L325-L345
e606c7bhttps://github.com/plotly/plotly.js/commit/e606c7bf0de0eee26da154babbcc7e9f71e6504e
etpinardhttps://github.com/etpinard
v1.50.0https://github.com/plotly/plotly.js/milestone/46
v1.51.0https://github.com/plotly/plotly.js/milestone/47
on Sep 23, 2019https://github.com/plotly/plotly.js/issues/2704#event-2656040470
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Sep 25, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-535055691
#4028https://github.com/plotly/plotly.js/issues/4028
#4216https://github.com/plotly/plotly.js/pull/4216
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Oct 23, 2019https://github.com/plotly/plotly.js/issues/2704#issuecomment-545588175
etpinardhttps://github.com/etpinard
v1.51.0https://github.com/plotly/plotly.js/milestone/47
on Oct 23, 2019https://github.com/plotly/plotly.js/issues/2704#event-2738209180
etpinardhttps://github.com/etpinard
on Mar 12, 2020https://github.com/plotly/plotly.js/issues/2704#event-3122807336
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Mar 13, 2020https://github.com/plotly/plotly.js/issues/2704#issuecomment-598801499
https://github.com/plotly/plotly.js/tree/auto-margin-pipeline-DEVhttps://github.com/plotly/plotly.js/tree/auto-margin-pipeline-DEV
#2704 (comment)https://github.com/plotly/plotly.js/issues/2704#issuecomment-534302295
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Jun 11, 2024https://github.com/plotly/plotly.js/issues/2704#issuecomment-2161244180
@gvwilsonhttps://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 11, 2024https://github.com/plotly/plotly.js/issues/2704#event-13120376327
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/2704
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2704
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.