Title: 6.0.0 vs. 5.24.1 → go.FigureWidget → same syntax broken output in JN 7.3.2 · Issue #4998 · plotly/plotly.py · GitHub
Open Graph Title: 6.0.0 vs. 5.24.1 → go.FigureWidget → same syntax broken output in JN 7.3.2 · Issue #4998 · plotly/plotly.py
X Title: 6.0.0 vs. 5.24.1 → go.FigureWidget → same syntax broken output in JN 7.3.2 · Issue #4998 · plotly/plotly.py
Description: Hi, I am using plotly for the last 5 years with the same syntax without an issue to show graphs in Jupyter Notebook (JN). However, new v6 has broken functionality of the go.FigureWidget while transiting to anywidgets. On the other hand, ...
Open Graph Description: Hi, I am using plotly for the last 5 years with the same syntax without an issue to show graphs in Jupyter Notebook (JN). However, new v6 has broken functionality of the go.FigureWidget while trans...
X Description: Hi, I am using plotly for the last 5 years with the same syntax without an issue to show graphs in Jupyter Notebook (JN). However, new v6 has broken functionality of the go.FigureWidget while trans...
Opengraph URL: https://github.com/plotly/plotly.py/issues/4998
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"6.0.0 vs. 5.24.1 → go.FigureWidget → same syntax broken output in JN 7.3.2","articleBody":"Hi,\n\nI am using plotly for the last 5 years with the same syntax without an issue to show graphs in Jupyter Notebook (JN). \nHowever, new v6 has broken functionality of the go.FigureWidget while transiting to anywidgets. \nOn the other hand, any other graphs (flow generates thousands of them across plotly lib) seems to work OK.\n\nThe usecase is that go.FigureWidget is inside python's widgets HBox to show dynamically two graphs next to each other in JN 7.3.2. \n\nPlease let me know what other info would be needed. \n\nThe code snippet goes like this:\n\n\n```\nfor T in self.TT:\n self.G[T] = go.FigureWidget(\n data = [\n go.Scatter(\n y = self.GRAPH[T][Feature.value],\n x = list(self.GRAPH[T].index),\n line=dict(width = 1, color = self.Exo_wg_Update(TH, URi[T])[1])\n )],\n layout = go.Layout(Glayout(T,0))\n )\n...\nG_Box = wg.HBox(list(self.G.values()), layout=wg.Layout(width='1050px',height='320px'))\n...\ndisplay(G_Box)\n\n```\n\nAny version \u003c 6 (e.g. 5.2.4) provides designed output:\n\n\n\nVersion 6 turns to (wrong size and no graph data is shown):\n \n\n\n\npython packages versions:\nnotebook 7.3.2\nipywidgets 8.1.5\nIPython 8.31.0\nplotly 6.0.0\nanywidget 0.9.13","author":{"url":"https://github.com/MichalRIcar","@type":"Person","name":"MichalRIcar"},"datePublished":"2025-01-29T21:44:35Z","url":"https://github.com/plotly/plotly.py/issues/4998"}
| 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:f7db587d-4602-46e8-f40d-f7f00316c0bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0DA:19F84C:217429E:2A8F29D:6B0160E7 |
| html-safe-nonce | 453ee6e111b1900a925636339aea3f77efcd19b520c411a5a68fbb2e0eaf77db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMERBOjE5Rjg0QzoyMTc0MjlFOjJBOEYyOUQ6NkIwMTYwRTciLCJ2aXNpdG9yX2lkIjoiNzgwOTU1MjYxNjc5ODY0MjQwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d77446340e3c68a17467cd1b811be06f9618c307ccb52009718a4eb084939476 |
| hovercard-subject-tag | issue:2819394377 |
| 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/4998/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d2b11cb469e10a1322f856b842eac8d1092a98c72aeab42754ff2f6c54a79cd/plotly/plotly.py/issues/4998 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d2b11cb469e10a1322f856b842eac8d1092a98c72aeab42754ff2f6c54a79cd/plotly/plotly.py/issues/4998 |
| og:image:alt | Hi, I am using plotly for the last 5 years with the same syntax without an issue to show graphs in Jupyter Notebook (JN). However, new v6 has broken functionality of the go.FigureWidget while trans... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MichalRIcar |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width