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've upgraded to the latest version of Streamlit, which is 1.42.0
Loading the example from the README gives the following:
importstreamlitasstfromstreamlit_plotly_eventsimportplotly_eventsimportplotly.expressaspx# Writes a component similar to st.write()fig=px.line(x=[1], y=[1])
selected_points=plotly_events(fig, key="i")
# Can write inside of things using with!fig=px.line(x=[1], y=[1])
selected_points=plotly_events(fig, key="j")
# Select other Plotly events by specifying kwargsfig=px.line(x=[1], y=[1])
selected_points=plotly_events(fig, click_event=False, hover_event=True, key="k")
Is there a way to mitigate this issue?
The text was updated successfully, but these errors were encountered:
I've upgraded to the latest version of Streamlit, which is 1.42.0
Loading the example from the README gives the following:
Is there a way to mitigate this issue?
The text was updated successfully, but these errors were encountered: