Skip to content

Plotly chart selection not working with non-scatter plot charts. #5026

Open
@fabian-castaneda

Description

@fabian-castaneda

I'm using plotly.express to create some figures and expose them in a streamlit app. One of them is a parallel coordinates plot. However when I select select data from the plot it doesn't return anything.

fig = create_parcoord_plot(plot_data, color_by=color_by_var)
    selection = st.plotly_chart(fig, on_select="rerun", use_container_width=True,)
st.write(selection)

Image

I believe some other user have encounter this bug before, but I wasn't able to find a ticket regarding this.

Is there a quick solution?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions