diff --git a/backend/scripts/time_residuals.py b/backend/scripts/time_residuals.py index 758fd2f778545829658563faf7b1bcd85b1c69db..582cb00590159f97821b976aff23f80f5f309d06 100755 --- a/backend/scripts/time_residuals.py +++ b/backend/scripts/time_residuals.py @@ -39,14 +39,15 @@ def main(): print("Reading data...") df = pd.read_csv( args['TIME_RESIDUALS_FILE'], - names=["run", "timestamp", "du", "floor", "dom_id", "t_res", "Q"] + names=["run", "timestamp", "du", "floor", "dom_id", "t_res", "Q"], + header=1, ) df = df[df.timestamp > time.time() - 60 * 60 * hours] print(f" -> number of entries: {len(df)}") fig, axes = plt.subplots(nrows=6, ncols=3, - figsize=(16, 16), + figsize=(32, 48), sharex=True, sharey=False, constrained_layout=True)