Thanks for the heads up. Under the hood Streamlit emits the bokeh chart into a JSON with bokeh.embed.json_item and then uses this JSON in
bokehjs.embed.embed_item on the frontend side.
My guess is, if Bokeh on the Python side is upgraded to 2.0.0, then BokehJS on the JS side should also be 2.0.0 but I could not find a corresponding version for BokehJS to test.
I tested Python Bokeh 2.0.0rc1 and the JSON item from 1.4.0 to 2.0.0rc1 do seem to change a small bit. It’s strange BokehJS did not spit an error on loading the JSON item…The only error log I could get was :
[bokeh] JS/Python version mismatch
[bokeh] Library versions: JS (1.3.4) / Python (2.0.0rc1)
I’ll comment on your thread to see if the version mismatch could be the solution
Oh, and a FR on Streamlit’s side : https://github.com/streamlit/streamlit/issues/1134
Here, a codepen to test JS embedding on Bokeh 2.0.0 : https://codepen.io/andfanilo/pen/bGdgBze there is actually an error log in the debug view :
Error: property Grid.axis wasn't declared