From db05cb49aa78781c3c9fa0911864e548ab80289b Mon Sep 17 00:00:00 2001 From: Gabriele Calvo Date: Mon, 13 Jan 2025 15:27:26 +0000 Subject: [PATCH] fix untested func --- wind_up/plots/windspeed_drift_plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wind_up/plots/windspeed_drift_plots.py b/wind_up/plots/windspeed_drift_plots.py index c403227..19fdc0e 100644 --- a/wind_up/plots/windspeed_drift_plots.py +++ b/wind_up/plots/windspeed_drift_plots.py @@ -12,14 +12,14 @@ def plot_rolling_windspeed_diff_one_wtg( *, - ser: pd.DataFrame, + ser: pd.Series, wtg_name: str, ws_col: str, plot_cfg: PlotConfig, sub_dir: str | None, ) -> None: plt.figure() - plt.plot(ser["rolling_windspeed_diff"]) + plt.plot(ser) plot_title = f"{wtg_name} rolling {ws_col} diff to reanalysis" plt.title(plot_title) plt.xlabel("datetime")