René's URL Explorer Experiment


Title: json converstion and numpy array · Issue #5340 · plotly/plotly.py · GitHub

Open Graph Title: json converstion and numpy array · Issue #5340 · plotly/plotly.py

X Title: json converstion and numpy array · Issue #5340 · plotly/plotly.py

Description: I recently updated NumPy to version 2.2.5 and Plotly to version 6.3.0. Since then, the JSON conversion has not been dealing with the NumPy array anymore. The x and y data are strange objects with no numerical values. The HTML conversion ...

Open Graph Description: I recently updated NumPy to version 2.2.5 and Plotly to version 6.3.0. Since then, the JSON conversion has not been dealing with the NumPy array anymore. The x and y data are strange objects with n...

X Description: I recently updated NumPy to version 2.2.5 and Plotly to version 6.3.0. Since then, the JSON conversion has not been dealing with the NumPy array anymore. The x and y data are strange objects with n...

Opengraph URL: https://github.com/plotly/plotly.py/issues/5340

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"json converstion and numpy array","articleBody":"I recently updated NumPy to version 2.2.5 and Plotly to version 6.3.0.\nSince then, the JSON conversion has not been dealing with the NumPy array anymore. The x and y data are strange objects with no numerical values. The HTML conversion do not show this issue.\n\nHere is some minimal code that generates the issue:\n``` python\nimport numpy as np\nimport plotly.graph_objects as go\n\nx = [1,5,4]\ny = [0,0,2]\n\nfig_array = go.Figure()\nfig_array.add_trace(go.Scatter(x=np.array(x),\n                         y=np.array(y),\n                         ))\nfig_array.write_json('test_array.json', pretty=True)\nfig_array.write_html('test.html')\n\nfig_list = go.Figure()\nfig_list.add_trace(go.Scatter(x=x,\n                               y=y,\n                               ))\nfig_list.write_json('test_list.json', pretty=True)\n```\n\nHere the obtained data fields in the json files.\n\n'test_list.json':\n``` json\n\"data\": [{\"x\": [1,5,4], \"y\": [0,0,2], \"type\": \"scatter\" }]\n```\n'test_array.json':\n``` json\n\"data\": [{ \"x\": {\"dtype\": \"i1\",  \"bdata\": \"AQUE\"},  \"y\": { \"dtype\": \"i1\", \"bdata\": \"AAAC\"},  \"type\": \"scatter\" }]\n```\n\nThe html file is ok!","author":{"url":"https://github.com/AugustinErnoult","@type":"Person","name":"AugustinErnoult"},"datePublished":"2025-09-04T15:17:06Z","url":"https://github.com/plotly/plotly.py/issues/5340"}

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:3f51a117-0ffc-4c44-d82d-28bd15de3995
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9FE0:215B92:D22123:118BA93:6B01001F
html-safe-nonce8285353493bf6393c48944e142178116d23b65f130ecf230ec1b9872af3bddac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkUwOjIxNUI5MjpEMjIxMjM6MTE4QkE5Mzo2QjAxMDAxRiIsInZpc2l0b3JfaWQiOiI2MTUyOTQ0ODU2OTgyNDIxNTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac21426ee9713239fb25c132bb42573b9ffae86e680cde623c93812e0882d92f09
hovercard-subject-tagissue:3384228618
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.py/5340/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9b95cb6ab25e1e6ee3ac870d0afd929ff3f4e8ed6016bebb865aeded0e6ba180/plotly/plotly.py/issues/5340
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9b95cb6ab25e1e6ee3ac870d0afd929ff3f4e8ed6016bebb865aeded0e6ba180/plotly/plotly.py/issues/5340
og:image:altI recently updated NumPy to version 2.2.5 and Plotly to version 6.3.0. Since then, the JSON conversion has not been dealing with the NumPy array anymore. The x and y data are strange objects with n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAugustinErnoult
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579099
octolytics-dimension-repository_nwoplotly/plotly.py
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579099
octolytics-dimension-repository_network_root_nwoplotly/plotly.py
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.py/issues/5340#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F5340
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.py%2Fissues%2F5340
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.py
Reloadhttps://github.com/plotly/plotly.py/issues/5340
Reloadhttps://github.com/plotly/plotly.py/issues/5340
Reloadhttps://github.com/plotly/plotly.py/issues/5340
plotlyhttps://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Codehttps://github.com/plotly/plotly.py
Issues650 (650)https://github.com/plotly/plotly.py/issues
Pull requests83 (83)https://github.com/plotly/plotly.py/pulls
Actionshttps://github.com/plotly/plotly.py/actions
Security and qualityhttps://github.com/plotly/plotly.py/security
Insightshttps://github.com/plotly/plotly.py/insights
https://github.com/plotly/plotly.py
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5340
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5340
json converstion and numpy arrayhttps://github.com/plotly/plotly.py/issues/5340#top
P1needed for current cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P1%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
regressionthis used to workhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22regression%22
https://github.com/AugustinErnoult
AugustinErnoulthttps://github.com/AugustinErnoult
on Sep 4, 2025https://github.com/plotly/plotly.py/issues/5340#issue-3384228618
https://github.com/AugustinErnoult
AugustinErnoulthttps://github.com/AugustinErnoult
on Sep 4, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3254581790
herehttps://github.com/plotly/plotly.py/blob/f27f38f303d25fd47bd4c4c619c0a07ac7aaa0f1/_plotly_utils/utils.py#L39
gvwilsonhttps://github.com/gvwilson
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
P1needed for current cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P1%22
regressionthis used to workhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22regression%22
on Sep 9, 2025https://github.com/plotly/plotly.py/issues/5340#event-19590887292
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Oct 1, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3358107649
@AugustinErnoulthttps://github.com/AugustinErnoult
#4470https://github.com/plotly/plotly.py/pull/4470
https://github.com/AugustinErnoult
AugustinErnoulthttps://github.com/AugustinErnoult
on Oct 2, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3359607756
#5045https://github.com/plotly/plotly.py/issues/5045
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Oct 2, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3361998370
@AugustinErnoulthttps://github.com/AugustinErnoult
v2.28.0https://github.com/plotly/plotly.js/releases/tag/v2.28.0
v3.1.1https://github.com/plotly/plotly.js/releases/tag/v3.1.1
https://github.com/AugustinErnoult
AugustinErnoulthttps://github.com/AugustinErnoult
on Oct 3, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3365157617
AugustinErnoulthttps://github.com/AugustinErnoult
completedhttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 3, 2025https://github.com/plotly/plotly.py/issues/5340#event-20078463231
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Oct 3, 2025https://github.com/plotly/plotly.py/issues/5340#issuecomment-3366258515
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/5340
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5340
P1needed for current cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P1%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
regressionthis used to workhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22regression%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.