From a7b55f37f15be4aca72f73e115d5fb340b2de9c9 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 22:25:48 -0700 Subject: [PATCH] remove crosshair tool from time plot --- 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 aa5ae5e..e0a2fd1 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -82,7 +82,7 @@ brightness_plot = figure(plot_height=150, plot_width=400, x_range=[0, 7], y_rang brightness_plot.line('sensor', 'brightness', source=brightness_plot_source, line_width=3) brightness_plot.circle('sensor', 'brightness', source=brightness_plot_source, size=8, fill_color="white", line_width=2) -time_plot = figure(plot_height=400, plot_width=800, y_range=[-1, 1], tools="crosshair,pan,reset,save,wheel_zoom") +time_plot = figure(plot_height=400, plot_width=800, y_range=[-1, 1], tools="pan,reset,save,wheel_zoom") time_plot.line('t', 'e', source=time_plot_source, line_width=3, line_alpha=0.6, legend_label="e(t)") time_plot.line('t', 'c', source=time_plot_source, line_width=3, line_alpha=0.6, legend_label="c(t)", line_color = "green") @@ -106,7 +106,7 @@ def controller(): steering_sign = 1 print("INFO: Controller started") - + # Precompute this_time = 0 new_c = 0