René's URL Explorer Experiment


Title: Scattergl plot is sometimes slow to interact with even with moderate number of points · Issue #5927 · plotly/plotly.js · GitHub

Open Graph Title: Scattergl plot is sometimes slow to interact with even with moderate number of points · Issue #5927 · plotly/plotly.js

X Title: Scattergl plot is sometimes slow to interact with even with moderate number of points · Issue #5927 · plotly/plotly.js

Description: With constant number of points and other settings, I see that Scattergl rendering times vary a lot. With 100,000 points, there are cases where it is virtually impossible to interact with the plot (e.g. zoom), and just moving the mouse se...

Open Graph Description: With constant number of points and other settings, I see that Scattergl rendering times vary a lot. With 100,000 points, there are cases where it is virtually impossible to interact with the plot (...

X Description: With constant number of points and other settings, I see that Scattergl rendering times vary a lot. With 100,000 points, there are cases where it is virtually impossible to interact with the plot (...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Scattergl plot is sometimes slow to interact with even with moderate number of points","articleBody":"With constant number of points and other settings, I see that Scattergl rendering times vary a lot. With 100,000 points, there are cases where it is virtually impossible to interact with the plot (e.g. zoom), and just moving the mouse seem to cause lengthy calculations.\r\n\r\nFor example, the following code [from the doc](https://plotly.com/python/line-and-scatter/#large-data-sets) works well:\r\n\r\n```\r\nimport plotly.graph_objects as go\r\nimport numpy as np\r\n\r\nN = 100000\r\nfig = go.Figure(data=go.Scattergl(\r\n    x = np.random.randn(N),\r\n    y = np.random.randn(N),\r\n    mode='markers',\r\n    marker=dict(\r\n        color=np.random.randn(N),\r\n        colorscale='Viridis',\r\n        line_width=1\r\n    )\r\n))\r\n\r\nfig.show()\r\n```\r\nbut if I replace the x data by zeros,\r\n\r\n```\r\n    x = np.zeros(N),\r\n```\r\n\r\nperformance is significantly degraded (so much that using Scatter instead of Scattergl becomes better when trying to zoom in a box).\r\n\r\nAny ideas where the difference is coming from and how performance could be improved in this case?\r\n\r\nThanks.","author":{"url":"https://github.com/bruot","@type":"Person","name":"bruot"},"datePublished":"2021-09-07T14:24:41Z","url":"https://github.com/plotly/plotly.js/issues/5927"}

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:0fae041a-9060-d0be-881f-74719224fe2e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id88D2:2DBB21:2939D7C:370C0F8:6B01BD4D
html-safe-nonceb0d46392085e409badfb7b492918ab03296619ecef5c92cd907b82faa0c60d12
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEQyOjJEQkIyMToyOTM5RDdDOjM3MEMwRjg6NkIwMUJENEQiLCJ2aXNpdG9yX2lkIjoiMzExNjE2NzA4MTkyNjcwNDQ2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3eeafeb9acaf40282d9b4945e080a284547a2b265214657db7ff7fdc0f0eec17
hovercard-subject-tagissue:990043423
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/5927/issue_layout
twitter:imagehttps://opengraph.githubassets.com/34db9b8741939c9552b4e5ca565f16240123265207f062f6cdd03bf2f8dfb6ca/plotly/plotly.js/issues/5927
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/34db9b8741939c9552b4e5ca565f16240123265207f062f6cdd03bf2f8dfb6ca/plotly/plotly.js/issues/5927
og:image:altWith constant number of points and other settings, I see that Scattergl rendering times vary a lot. With 100,000 points, there are cases where it is virtually impossible to interact with the plot (...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebruot
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/5927#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F5927
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%2F5927
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/5927
Reloadhttps://github.com/plotly/plotly.js/issues/5927
Reloadhttps://github.com/plotly/plotly.js/issues/5927
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/5927
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/5927
#8052https://github.com/plotly/plotly.js/pull/8052
Scattergl plot is sometimes slow to interact with even with moderate number of pointshttps://github.com/plotly/plotly.js/issues/5927#top
#8052https://github.com/plotly/plotly.js/pull/8052
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
performancesomething is slowhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22performance%22
https://github.com/bruot
bruothttps://github.com/bruot
on Sep 7, 2021https://github.com/plotly/plotly.js/issues/5927#issue-990043423
from the dochttps://plotly.com/python/line-and-scatter/#large-data-sets
https://github.com/bruot
bruothttps://github.com/bruot
on Sep 7, 2021https://github.com/plotly/plotly.js/issues/5927#issuecomment-914376607
#5881https://github.com/plotly/plotly.js/issues/5881
https://github.com/CmpCtrl
CmpCtrlhttps://github.com/CmpCtrl
on Sep 15, 2021https://github.com/plotly/plotly.js/issues/5927#issuecomment-920064711
@bruothttps://github.com/bruot
https://user-images.githubusercontent.com/90776324/133446256-d09d6698-4219-4d60-bb2a-38b92148bad7.png
https://user-images.githubusercontent.com/90776324/133449308-8fc1ffd7-440c-4001-b9d3-c913b082909c.png
#1698https://github.com/plotly/plotly.js/issues/6792
https://github.com/CmpCtrl
CmpCtrlhttps://github.com/CmpCtrl
on Sep 15, 2021https://github.com/plotly/plotly.js/issues/5927#issuecomment-920110111
#5790https://github.com/plotly/plotly.js/issues/5790
https://github.com/Entropy5
Entropy5https://github.com/Entropy5
on Feb 17, 2022https://github.com/plotly/plotly.js/issues/5927#issuecomment-1042821741
examplehttps://plotly.com/python/webgl-vs-svg/
https://github.com/jvdd
jvddhttps://github.com/jvdd
on Mar 2, 2022https://github.com/plotly/plotly.js/issues/5927#issuecomment-1057179382
plotly-resamplerhttps://github.com/predict-idlab/plotly-resampler
https://github.com/siiruli
siirulihttps://github.com/siiruli
on Aug 29, 2023https://github.com/plotly/plotly.js/issues/5927#issuecomment-1697679087
907415ahttps://github.com/plotly/plotly.js/commit/907415a84c9dc656eb3f6fa9725fd8e9e3910b89
plotly.js/src/components/fx/hover.jshttps://github.com/plotly/plotly.js/blob/a5577d994ea06785be100f9e7decff3e6cd8ab1f/src/components/fx/hover.js#L569-L589
a5577d9https://github.com/plotly/plotly.js/commit/a5577d994ea06785be100f9e7decff3e6cd8ab1f
#6792https://github.com/plotly/plotly.js/issues/6792
#5881https://github.com/plotly/plotly.js/issues/5881
#6054https://github.com/plotly/plotly.js/issues/6054
#5790https://github.com/plotly/plotly.js/issues/5790
https://github.com/CmpCtrl
CmpCtrlhttps://github.com/CmpCtrl
on Aug 30, 2023https://github.com/plotly/plotly.js/issues/5927#issuecomment-1699951982
https://github.com/CmpCtrl
CmpCtrlhttps://github.com/CmpCtrl
on Jun 23, 2024https://github.com/plotly/plotly.js/issues/5927#issuecomment-2185252036
#6174https://github.com/plotly/plotly.js/issues/6174
@siirulihttps://github.com/siiruli
gvwilsonhttps://github.com/gvwilson
on Jul 12, 2024https://github.com/plotly/plotly.js/issues/5927#event-13489460324
gvwilsonhttps://github.com/gvwilson
on Aug 2, 2024https://github.com/plotly/plotly.js/issues/5927#event-13740567150
gvwilsonhttps://github.com/gvwilson
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
performancesomething is slowhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22performance%22
on Aug 9, 2024https://github.com/plotly/plotly.js/issues/5927#event-13823584298
https://github.com/CmpCtrl
CmpCtrlhttps://github.com/CmpCtrl
on Nov 22, 2024https://github.com/plotly/plotly.js/issues/5927#issuecomment-2493758581
@gvwilsonhttps://github.com/gvwilson
#7065https://github.com/plotly/plotly.js/issues/7065
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Nov 22, 2024https://github.com/plotly/plotly.js/issues/5927#issuecomment-2493770501
@CmpCtrlhttps://github.com/CmpCtrl
@gvwilsonhttps://github.com/gvwilson
danjasuwhttps://github.com/danjasuw
on Nov 20, 2025https://github.com/plotly/plotly.js/issues/5927#event-21076371338
Web:QC Page: Centralize setting 'chart_Layout.hovermode = false'https://github.com/yeastrc/limelight-core/commit/cf85485c928a98eeac313939c341ae805ab42964
cf85485https://github.com/yeastrc/limelight-core/commit/cf85485c928a98eeac313939c341ae805ab42964
camdecosterhttps://github.com/camdecoster
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#8052https://github.com/plotly/plotly.js/pull/8052
on Oct 20, 2026https://github.com/plotly/plotly.js/issues/5927#event-33788752466
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/5927
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/5927
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
performancesomething is slowhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22performance%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.