diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py index caefbd82193b2202edb9e15d13ab34eeb143a97c..f0b6baeb0b56126ccccb80c9da993fb406428d93 100644 --- a/mlair/plotting/postprocessing_plotting.py +++ b/mlair/plotting/postprocessing_plotting.py @@ -838,8 +838,8 @@ class PlotTimeSeries: factor = 1 if self._sampling == "h": factor = 2 - f, ax = plt.subplots((end - start + 1) * factor, sharey=True, figsize=(50, 30)) - return f, ax, factor + f, ax = plt.subplots((end - start + 1) * factor, sharey=True, figsize=(50, 30), squeeze=False) + return f, ax[:, 0], factor def _plot_ahead(self, ax, data): color = sns.color_palette("Blues_d", self._window_lead_time).as_hex()