Skip to content

No points shown for Streamlit 1.42.0 #16

Description

@teeuwski

I've upgraded to the latest version of Streamlit, which is 1.42.0

Loading the example from the README gives the following:

import streamlit as st
from streamlit_plotly_events import plotly_events
import plotly.express as px

# 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 kwargs
fig = px.line(x=[1], y=[1])
selected_points = plotly_events(fig, click_event=False, hover_event=True, key = "k")

Image

Is there a way to mitigate this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions