Just to connect up threads, there is an open issue on streamlit for implementing bidirectional communication between interactive plots and Python here: Ability to accept input from Charts, Tables, etc. · Issue #455 · streamlit/streamlit · GitHub
Current status is WIP but there is a working prototype for plotly.
There is also a streamlit_bokeh3_events component which appears to support bokeh 3, more info here: Bokeh 3 plots within streamlit including bi-directional communication
Personally I’d love to see full support for bokeh and datashader in streamlit