try switching to points in plot

This commit is contained in:
Brendan Haines 2020-03-02 19:16:59 -07:00
parent ce67754933
commit d7d141e20d

View File

@ -63,7 +63,8 @@ plt_source = ColumnDataSource(data=plt_data)
plot = figure(plot_height=400, plot_width=400, title="Reflectivity", plot = figure(plot_height=400, plot_width=400, title="Reflectivity",
x_range=[0, 7], y_range=[0, 1]) x_range=[0, 7], y_range=[0, 1])
plot.line('x', 'y', source=plt_source, line_width=3, line_alpha=0.6) # plot.line('x', 'y', source=plt_source, line_width=3, line_alpha=0.6)
plot.circle('x', 'y', source=plt_source, size=5, line_alpha=0.6)
def update_plot(attrname=None, old=None, new=None): def update_plot(attrname=None, old=None, new=None):
global brightness global brightness