René's URL Explorer Experiment


Title: allow plotly.js to accept numpy buffers · Issue #1784 · plotly/plotly.js · GitHub

Open Graph Title: allow plotly.js to accept numpy buffers · Issue #1784 · plotly/plotly.js

X Title: allow plotly.js to accept numpy buffers · Issue #1784 · plotly/plotly.js

Description: If we allowed all GL plot types to accept numpy buffers for plot x/y/z data, then the Python library could optionally avoid JSON serialization of array data, like @maartenbreddels does in his brillant project ipyvolume: https://github.co...

Open Graph Description: If we allowed all GL plot types to accept numpy buffers for plot x/y/z data, then the Python library could optionally avoid JSON serialization of array data, like @maartenbreddels does in his brill...

X Description: If we allowed all GL plot types to accept numpy buffers for plot x/y/z data, then the Python library could optionally avoid JSON serialization of array data, like @maartenbreddels does in his brill...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"allow plotly.js to accept numpy buffers","articleBody":"If we allowed all GL plot types to accept numpy buffers for plot x/y/z data, then the Python library could optionally avoid JSON serialization of array data, like @maartenbreddels does in his brillant project ipyvolume:\r\n\r\nhttps://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/serialize.py#L95\r\n\r\nHere is the deserialization on the JS side:\r\n\r\nhttps://github.com/maartenbreddels/ipyvolume/blob/master/js/src/serialize.js#L16\r\n\r\nPlotly.js has all of these incredible WebGL figures for scientific computing, but their potential in Python, R, MATLAB, etc is limited by the JSON serialization step.\r\n\r\nIn a similar vein, it seems like all GL types should be able to accept Float32Array's directly instead of untyped JS arrays. Currently, it looks like only the Plotly trace type `pointcloud` accepts Float32Array's:\r\n\r\nhttps://codepen.io/plotly/pen/GEoPgv\r\n","author":{"url":"https://github.com/jackparmer","@type":"Person","name":"jackparmer"},"datePublished":"2017-06-14T02:58:43Z","url":"https://github.com/plotly/plotly.js/issues/1784"}

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:a0540c54-1105-a304-1c94-8b6754125057
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCFC2:22DB35:FAA15B:1426EC1:6B01004D
html-safe-noncea7a0faff0efdbe4ea87be9c7f2d00448c6b32d205d7494ee91e06a875d68b23c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkMyOjIyREIzNTpGQUExNUI6MTQyNkVDMTo2QjAxMDA0RCIsInZpc2l0b3JfaWQiOiI3OTEyOTUxNzgxMTk2MzY1OTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5561c8fd783124745483552d2af62f86b492cbc7a2f42bebc947123c4f8de022
hovercard-subject-tagissue:235748847
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/1784/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3361d3ef28df96d7f3d9610bdafd91cc4c0a57e038fd432b704766d45fd4f461/plotly/plotly.js/issues/1784
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3361d3ef28df96d7f3d9610bdafd91cc4c0a57e038fd432b704766d45fd4f461/plotly/plotly.js/issues/1784
og:image:altIf we allowed all GL plot types to accept numpy buffers for plot x/y/z data, then the Python library could optionally avoid JSON serialization of array data, like @maartenbreddels does in his brill...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejackparmer
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/1784#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F1784
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%2F1784
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/1784
Reloadhttps://github.com/plotly/plotly.js/issues/1784
Reloadhttps://github.com/plotly/plotly.js/issues/1784
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/1784
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/1784
allow plotly.js to accept numpy buffershttps://github.com/plotly/plotly.js/issues/1784#top
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
https://github.com/jackparmer
jackparmerhttps://github.com/jackparmer
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issue-235748847
@maartenbreddelshttps://github.com/maartenbreddels
https://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/serialize.py#L95https://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/serialize.py#L95
https://github.com/maartenbreddels/ipyvolume/blob/master/js/src/serialize.js#L16https://github.com/maartenbreddels/ipyvolume/blob/master/js/src/serialize.js#L16
https://codepen.io/plotly/pen/GEoPgvhttps://codepen.io/plotly/pen/GEoPgv
jackparmerhttps://github.com/jackparmer
type: performancehttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22type%3A%20performance%22
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#event-1122530248
jackparmerhttps://github.com/jackparmer
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#event-1122530412
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-308319857
https://github.com/jackparmer
jackparmerhttps://github.com/jackparmer
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-308323819
R packagehttps://cran.r-project.org/web/packages/RcppCNPy/vignettes/RcppCNPy-intro.pdf
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-308410783
#860https://github.com/plotly/plotly.js/issues/860
https://github.com/rreusser
rreusserhttps://github.com/rreusser
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-308431393
scijs/ndarray#18https://github.com/scijs/ndarray/issues/18
ndarray-unpackhttps://github.com/scijs/ndarray-unpack
ndarray-packhttps://github.com/scijs/ndarray-pack
https://github.com/maartenbreddels
maartenbreddelshttps://github.com/maartenbreddels
on Jun 14, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-308564993
herehttps://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/serialize.py#L95
that happens herehttps://github.com/jupyter-widgets/ipywidgets/blob/36dd0aa54b810c60a58d9c18afee590f530dc2a8/ipywidgets/widgets/widget.py#L112
most of the js magic is herehttps://github.com/jupyter/notebook/blob/master/notebook/static/services/kernels/serialize.js
@bryevdvhttps://github.com/bryevdv
@SylvainCorlayhttps://github.com/SylvainCorlay
@jasongrouthttps://github.com/jasongrout
@jackparmerhttps://github.com/jackparmer
send the dtype, and shape separatelyhttps://github.com/maartenbreddels/ipyvolume/blob/2ea543dd600eeaf899487d30633182b6ad04cf08/ipyvolume/serialize.py#L95
https://github.com/jackparmer
jackparmerhttps://github.com/jackparmer
on Jun 16, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-309127722
@maartenbreddelshttps://github.com/maartenbreddels
@SylvainCorlayhttps://github.com/SylvainCorlay
@jasongrouthttps://github.com/jasongrout
@bryevdvhttps://github.com/bryevdv
https://github.com/monfera
monferahttps://github.com/monfera
on Jun 24, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-310826289
plotly/plotly.py#550 (comment)https://github.com/plotly/plotly.py/pull/550#issuecomment-241228681
np.ndarray.tobyteshttps://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.tobytes.html
https://github.com/maartenbreddels
maartenbreddelshttps://github.com/maartenbreddels
on Jun 24, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-310854625
https://github.com/monfera
monferahttps://github.com/monfera
on Jun 25, 2017https://github.com/plotly/plotly.js/issues/1784#issuecomment-310921440
@maartenbreddelshttps://github.com/maartenbreddels
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Feb 28, 2018https://github.com/plotly/plotly.js/issues/1784#issuecomment-369081304
#2388 (comment)https://github.com/plotly/plotly.js/pull/2388#issuecomment-368310394
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
on Dec 17, 2018https://github.com/plotly/plotly.js/issues/1784#issuecomment-447982150
Apache Arrowhttps://arrow.apache.org/
https://camo.githubusercontent.com/8e64e2aa1b2474b16cfff7c5896e11cd10471478baf32226d06e8a44b1ed1fe8/68747470733a2f2f6172726f772e6170616368652e6f72672f696d672f636f70792e706e67
https://camo.githubusercontent.com/e29ecde7d07dec21644157c0e7fa3c39108463bf3db53474708ce9eed3e971d7/68747470733a2f2f6172726f772e6170616368652e6f72672f696d672f7368617265642e706e67
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Jul 17, 2019https://github.com/plotly/plotly.js/issues/1784#issuecomment-512522382
@catherinezuckerhttps://github.com/catherinezucker
jackparmerhttps://github.com/jackparmer
volume renderinghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22volume%20rendering%22
on Sep 13, 2019https://github.com/plotly/plotly.js/issues/1784#event-2633436902
etpinardhttps://github.com/etpinard
volume renderinghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22volume%20rendering%22
on Sep 16, 2019https://github.com/plotly/plotly.js/issues/1784#event-2636470908
jackparmerhttps://github.com/jackparmer
♥ NEEDS SPON$ORhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22%E2%99%A5%20NEEDS%20SPON%24OR%22
on Sep 10, 2020https://github.com/plotly/plotly.js/issues/1784#event-3752790759
https://github.com/jackparmer
jackparmerhttps://github.com/jackparmer
on Sep 10, 2020https://github.com/plotly/plotly.js/issues/1784#issuecomment-690666718
community PRhttps://github.com/plotly/plotly.js/pulls?q=is%3Apr+is%3Aopen+label%3A%22type%3A+community%22
plotly.com/javascripthttps://plotly.com/javascript/
community.plotly.comhttps://community.plotly.com/tag/announcements
contacting ushttps://plotly.com/get-pricing/
https://github.com/astroboylrx
astroboylrxhttps://github.com/astroboylrx
on May 1, 2023https://github.com/plotly/plotly.js/issues/1784#issuecomment-1530287873
@catherinezuckerhttps://github.com/catherinezucker
gvwilsonhttps://github.com/gvwilson
on Jun 10, 2024https://github.com/plotly/plotly.js/issues/1784#event-13102230261
gvwilsonhttps://github.com/gvwilson
on Aug 2, 2024https://github.com/plotly/plotly.js/issues/1784#event-13740606397
gvwilsonhttps://github.com/gvwilson
♥ NEEDS SPON$ORhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22%E2%99%A5%20NEEDS%20SPON%24OR%22
type: performancehttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22type%3A%20performance%22
on Aug 2, 2024https://github.com/plotly/plotly.js/issues/1784#event-13740627156
gvwilsonhttps://github.com/gvwilson
on Aug 8, 2024https://github.com/plotly/plotly.js/issues/1784#event-13809500964
gvwilsonhttps://github.com/gvwilson
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
on Aug 8, 2024https://github.com/plotly/plotly.js/issues/1784#event-13809504310
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/1784
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/1784
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
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.