Skip to content

Events not bubbling consistently on px.scatter plot #7

@esandoval30

Description

@esandoval30

streamlit_plotly_events==0.0.6
streamlit==1.23.1
streamlit-autorefresh==1.0.1
plotly==5.15.0
plotly-express==0.4.1

#bubble chart
fig = px.scatter(df_bubble, x="total_amount", y="total_transactions",
size="total_amount",color=category_selected,
hover_name="fraud_probability", log_y=False, log_x=False, size_max = 40, width=600, height=500)

#listen to events
selected_points = plotly_events(fig,click_event=True,hover_event=False)

When I click on a specific bubble in this scatter plot, selected_points contains data approx 10% of the times

What could be happening?

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