From 566f76459f91918d6c3330457dd68d7eddd0a5eb Mon Sep 17 00:00:00 2001 From: Lucas Serverhost Date: Fri, 31 Jul 2026 13:46:55 +0200 Subject: [PATCH] interpolate generateAlina py --- vivohost/generateAlinaChart.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/vivohost/generateAlinaChart.py b/vivohost/generateAlinaChart.py index 299968b..afe1d4c 100755 --- a/vivohost/generateAlinaChart.py +++ b/vivohost/generateAlinaChart.py @@ -142,8 +142,7 @@ plot_percentiles( linestyle=linestyle_list ) - -ax.plot(alina_df["Datum"], alina_df["Gewicht"], +ax.plot(alina_df["Datum"], alina_df["Gewicht"].interpolate(limit_area="inside"), color="green", linewidth=1.5, marker="o", label="Alina") last_idx = alina_df["Gewicht"].last_valid_index() @@ -181,8 +180,7 @@ plot_percentiles( labels=label_list, linestyle=linestyle_list ) -ax.plot(alina_df["Datum"], alina_df["Größe"], - color="green", linewidth=1.5, marker="o") +ax.plot(alina_df["Datum"], alina_df["Größe"].interpolate(limit_area="inside"),color="green", linewidth=1.5, marker="o") last_idx = alina_df["Größe"].last_valid_index() who_row = who_height_daily.loc[who_height_daily["Datum"] == alina_df["Datum"][last_idx]].iloc[0] @@ -219,8 +217,7 @@ plot_percentiles( linestyle=linestyle_list ) -ax.plot(alina_df["Datum"], alina_df["Kopfumfang"], - color="green", linewidth=1.5, marker="o") +ax.plot(alina_df["Datum"], alina_df["Kopfumfang"].interpolate(limit_area="inside"),color="green", linewidth=1.5, marker="o") last_idx = alina_df["Kopfumfang"].last_valid_index() who_row = who_head_daily.loc[who_head_daily["Datum"] == alina_df["Datum"][last_idx]].iloc[0]