Display an interactive Bokeh chart.

Bokeh is a charting library for Python. The arguments to this function closely follow the ones for Bokeh's show function. You can find more about Bokeh at https://bokeh.pydata.org.

Function signature

st.bokeh_chart(figure, use_container_width=False)


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?

editSuggest edits

Still have questions?

Our forums are full of helpful information and Streamlit experts.