Display an interactive Bokeh chart.
Function signature

st.bokeh_chart(figure, use_container_width=False)

Parameters

figure (bokeh.plotting.figure.Figure)

A Bokeh figure to plot.

use_container_width (bool)

If True, set the chart width to the column width. This takes precedence over Bokeh's native width value.

To show Bokeh charts in Streamlit, call `st.bokeh_chart` (null)

No description

wherever you would call Bokeh's `show`. (null)

No description

Was this page helpful?

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.