From be3bc2116c4d83b490c24f4f0dd1a5dc9fe81391 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 20:02:01 -0700 Subject: [PATCH] update old variable name --- Software/python/hwtest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 8e83e03..e1b6736 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -70,10 +70,10 @@ time_plot.line('t', 'e', source=time_plot_source, line_width=3, line_alpha=0.6) def update_plots(attrname=None, old=None, new=None): global brightness - global error + global time_data global brightness_plot_source brightness_plot_source.data = dict(sensor=brightness_idx, brightness=brightness) - time_plot_source.data = dict(t=t, e=error) + time_plot_source.data = dict(t=time_data[:,0], e=time_data[:,1]) def cal_white(attrname=None, old=None, new=None):