Plotly chart selection not working with non-scatter plot charts.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
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)
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied plotly.express parallel-coordinates example and the st.plotly_chart call, reproducing the behavior in a Streamlit app. The report names no repository files or tests; done means a selection from this chart is returned through the shown selection value, with coverage for the reported chart type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- plotly, python, streamlit
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100