Streamlit with bokeh in the demo

Hello,

I have an issue with the bokeh use in streamlit. When i run the demo “bokeh_chart” there is no chart displaying.

Configuration :
Windows 10
streamlit~=0.77.0
bokeh~=2.3.0

Code :

x = [1, 2, 3, 4, 5]
y = [6, 7, 2, 4, 5]

p = figure(
title=‘simple line example’,
x_axis_label=‘x’,
y_axis_label=‘y’)

p.line(x, y)

st.bokeh_chart( p )

Thank

Same thing here. Getting the same error and not able to see the graphic.

You will need to downgrade bokeh from 2.3.0 to 2.2.2. That is what worked for me.

1 Like

Thank narquette, it’s worked for me too.