def dashboard_d():
x = [1, 2, 3, 4, 5]
y = [6, 7, 2, 4, 5]
plot = figure(title="bokeh example", x_axis_label='x', y_axis_label='y')
plot.line(x, y, legend="Temp", line_width=2)
a = pd.DataFrame(np.random.randn(20, 20))
b = pd.DataFrame(np.random.randn(10, 10))
c = pd.DataFrame(np.random.randn(5, 5))
d = pd.DataFrame(np.random.randn(50, 50))
return Dashboard([plot, b, c, d], row_layout(2, 2))
评论列表
文章目录