Spaces:
Runtime error
Runtime error
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) | |