Spaces:
Runtime error
Runtime error
File size: 245 Bytes
dd0ef30 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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)
|