Using st.query_params, I now make it possible to share a contextual app. Meaning (at least a part of) the context (or "session_state") is now bi-directionally synchronized with the URL. After applying some filters and changes in plot settings, the user can share the URL that comes with all the settings. This becomes a novel way of sharing a data analysis.
Using
st.query_params
, I now make it possible to share a contextual app. Meaning (at least a part of) the context (or "session_state") is now bi-directionally synchronized with the URL. After applying some filters and changes in plot settings, the user can share the URL that comes with all the settings. This becomes a novel way of sharing a data analysis.Ref: https://blog.streamlit.io/how-streamlit-uses-streamlit-sharing-contextual-apps/
For example, this URL will show exactly the plot below.