Title: new update affects px.scatter() logging in wandb · Issue #5138 · plotly/plotly.py · GitHub
Open Graph Title: new update affects px.scatter() logging in wandb · Issue #5138 · plotly/plotly.py
X Title: new update affects px.scatter() logging in wandb · Issue #5138 · plotly/plotly.py
Description: hi, I noticed that updating to plotly=6.0.1 breaks some of the wandb logging of scatterplots, at least those with hover features. I think this might have something to do with some change in the json encoding given by the plotly.io codeba...
Open Graph Description: hi, I noticed that updating to plotly=6.0.1 breaks some of the wandb logging of scatterplots, at least those with hover features. I think this might have something to do with some change in the jso...
X Description: hi, I noticed that updating to plotly=6.0.1 breaks some of the wandb logging of scatterplots, at least those with hover features. I think this might have something to do with some change in the jso...
Opengraph URL: https://github.com/plotly/plotly.py/issues/5138
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"new update affects px.scatter() logging in wandb","articleBody":"hi,\n\nI noticed that updating to plotly=6.0.1 breaks some of the wandb logging of scatterplots, at least those with hover features. I think this might have something to do with some change in the json encoding given by the plotly.io codebase.\n\nminimum reproducing error:\n```\nimport plotly.express as px\nimport pandas as pd\nimport wandb\n\ntable_ex = pd.DataFrame({\"ax1\": [0, 3, 4],\n \"ax2\": [0, 3, 3],\n \"ax3\": [0, 0.2, 0.4],\n }\n )\n\nfig2 = px.scatter(table_ex, x=\"ax1\", y =\"ax2\", color=\"ax3\", range_color=(0,1), hover_data=table_ex.columns)\nfig2.update_traces(marker=dict(size=15))\nfig2\n\nrun = wandb.init(project=\"test2\")\nwandb.log({\"hi\": fig2})\nwandb.finish()\n```\nwandb==0.19.8, plotly==6.0.1, pandas==2.2.3","author":{"url":"https://github.com/mrunalimanj","@type":"Person","name":"mrunalimanj"},"datePublished":"2025-04-11T01:01:42Z","url":"https://github.com/plotly/plotly.py/issues/5138"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a0d5e888-d480-9109-4cb4-b4f01097e761 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A872:305B07:E382B0:12D89DB:6B01003B |
| html-safe-nonce | f359bb12afefcbdfae0414427ec46859fcbfabd5ca8220bbae276969ff7028e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODcyOjMwNUIwNzpFMzgyQjA6MTJEODlEQjo2QjAxMDAzQiIsInZpc2l0b3JfaWQiOiI5ODA3Njk4NzEzMjk1NTg1ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4dc087b4b0575a2e27a1e1f951608ddc9a9ad4bc614992278896d10c594366f1 |
| hovercard-subject-tag | issue:2987292586 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.py/5138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51f75bfab21089cc504bb9b496143c77e751968b60ca0bff1b9ec39ad12e9847/plotly/plotly.py/issues/5138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51f75bfab21089cc504bb9b496143c77e751968b60ca0bff1b9ec39ad12e9847/plotly/plotly.py/issues/5138 |
| og:image:alt | hi, I noticed that updating to plotly=6.0.1 breaks some of the wandb logging of scatterplots, at least those with hover features. I think this might have something to do with some change in the jso... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrunalimanj |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579099 |
| octolytics-dimension-repository_nwo | plotly/plotly.py |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579099 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.py |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width