Hey there,
Iāve been thrown into a data science project (yes, Covid-19) and have been experimenting heavily with streamlit, which is awesome. There may be one key concept Iām missing, however.
Thereās one use case Iāve havenāt quite been able to master, which is producing rich and performant maps where the user can change what is being displayed on the maps, without the plot resetting itself when they change an option using provided controls. By this I mean, the users selects the fields for the size/colour/hovertext of the marker, and the markers and their data update quickly. I can make nice plots in several packages, for instance Plotly, but the downside is every time the user makes a change, I call my āmake_plotā function, the chart is redrawn and the zoom/positioning is reset.
st.map is too simple for my uses and PyDeck seems to have several bugs, e.g. hovertext not supported. Is there anything Iām missing - some way to interact with a plot without redrawing the whole thing from scratch? I canāt tell from the docs how this is accomplished with the built-in map, for instance. And custom javascript seems unimplemented/not the streamlit way.
Any tips appreciated.