From 05ebf73461b8868c6d7a547948b3d7dda50f5341 Mon Sep 17 00:00:00 2001 From: Drew Lindow <61889579+MeanLowDrew@users.noreply.github.com> Date: Wed, 8 Feb 2023 09:30:58 -0900 Subject: [PATCH] Adjust bokeh_plot() args Add required bokeh_plot() arg "time", and remove unused arg "var_name". --- ioos_qc/plotting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ioos_qc/plotting.py b/ioos_qc/plotting.py index fe7539e8..bf56289a 100644 --- a/ioos_qc/plotting.py +++ b/ioos_qc/plotting.py @@ -7,12 +7,12 @@ L = logging.getLogger(__name__) -def bokeh_plot(data, var_name, results, title, module, test_name): - plot = bokeh_plot_var(data, var_name, results, title, module, test_name) +def bokeh_plot(time, data, results, title, module, test_name): + plot = bokeh_plot_var(time, data, results, title, module, test_name) return gridplot([[plot]], sizing_mode='fixed') -def bokeh_plot_var(time, data, var_name, results, title, module, test_name): +def bokeh_plot_var(time, data, results, title, module, test_name): """ Method to plot QC results using Bokeh """ if module not in results or test_name not in results[module]: