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.
Any tips appreciated.