Hi,
I want to report a new issue. I ran the demo in [https://docs.streamlit.io/en/0.62.0/api.html?highlight=bokeh#streamlit.bokeh_chart
with streamlit ==0.81.0 and bokeh==2.2.2]. It prompted TypeError. It worked under streamlit==0.80.0 and Bokeh==2.2.2.
Code:
import streamlit as st
from bokeh.plotting import figure
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, legend_label=‘Trend’, line_width=2)
st.bokeh_chart(p, use_container_width=True)
Error:
TypeError: Type error
n@http://localhost:8502/static/js/10.d6e51b1b.chunk.js:2:485213
Ot@http://localhost:8502/static/js/10.d6e51b1b.chunk.js:2:487498
http://localhost:8502/static/js/10.d6e51b1b.chunk.js:2:487579
a@http://localhost:8502/:1:1108
http://localhost:8502/static/js/24.1ef414d0.chunk.js:2:190
a@http://localhost:8502/:1:1108
a@[native code]
promiseReactionJob@[native code]
Thanks.