You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, any other graphs (flow generates thousands of them across plotly lib) seems to work OK.
The 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.
Please let me know what other info would be needed.
The code snippet goes like this:
for T in self.TT:
self.G[T] = go.FigureWidget(
data = [
go.Scatter(
y = self.GRAPH[T][Feature.value],
x = list(self.GRAPH[T].index),
line=dict(width = 1, color = self.Exo_wg_Update(TH, URi[T])[1])
)],
layout = go.Layout(Glayout(T,0))
)
...
G_Box = wg.HBox(list(self.G.values()), layout=wg.Layout(width='1050px',height='320px'))
...
display(G_Box)
Any version < 6 (e.g. 5.2.4) provides designed output:
Version 6 turns to (wrong size and no graph data is shown):
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, any other graphs (flow generates thousands of them across plotly lib) seems to work OK.
The 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.
Please let me know what other info would be needed.
The code snippet goes like this:
Any version < 6 (e.g. 5.2.4) provides designed output:
Version 6 turns to (wrong size and no graph data is shown):
python packages versions:
notebook 7.3.2
ipywidgets 8.1.5
IPython 8.31.0
plotly 6.0.0
anywidget 0.9.13
The text was updated successfully, but these errors were encountered: