-
Hello, I was trying and learning how to use the plotly widget. fig = go.Figure()
fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4], y=[0.1, 1, 4, 9, 16], mode="markers", name="Test"))
fig.add_trace(go.Scatter(x=[0, 1, 2, 3, 4], y=[0.5, 5, 9, 13, 60], mode="markers", name="Test"))
fig.update_yaxes(type='log')
plotly.Figure(fig, display_logo=False, display_mode_bar='true', scroll_zoom=True) but the Any hint ? |
Beta Was this translation helpful? Give feedback.
Answered by
jourdain
Sep 25, 2024
Replies: 1 comment 2 replies
-
While what you wrote should have worked, it seems that the plotly component expect an explicit attribute plotly.Figure(fig, display_logo=False, display_mode_bar=True, scroll_zoom=("true",)) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Zibc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While what you wrote should have worked, it seems that the plotly component expect an explicit attribute