From 6d5f200f5105901ad02be96ef9c74e4ba12f7d93 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 3 Aug 2021 05:42:48 -0600 Subject: [PATCH] Revert "kpi_csv_sq.py, added ability to save the individual figures or images" This reverts commit a117deac2982bdce522f45af41973615409cb06c. --- py-scripts/sandbox/kpi_csv_sq.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/py-scripts/sandbox/kpi_csv_sq.py b/py-scripts/sandbox/kpi_csv_sq.py index bb52f66f..fadb294b 100755 --- a/py-scripts/sandbox/kpi_csv_sq.py +++ b/py-scripts/sandbox/kpi_csv_sq.py @@ -17,8 +17,7 @@ external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) # get a list of the kpi.csv files not the path needs to be bassed in -#path = Path('./2021-07-31-03-00-01_lf_check') -path = Path('./test_data3') +path = Path('./2021-07-31-03-00-01_lf_check') kpi_list = list(path.glob('**/kpi.csv')) #print(kpi_list) @@ -101,11 +100,8 @@ for test_tag in test_tag_list: yaxis_title="{}".format(units[0]), xaxis = {'type' : 'date'} ) - # save the figure - this may need to be re-written - # uncomment after testing append_fig.write_image("{}_{}_{}_{}.png".format(test_id[0], group, test_tag, test_rig[0]),scale=1,width=1200,height=350) plot_figure.append(append_fig) - # there may be more layout with html.Div # Maybe a be more OO