Skip to content

Events not bubbling consistently on px.scatter plot #7

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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