From 2afe796928170b77e1e2c92a2dca6a110d6f032e Mon Sep 17 00:00:00 2001
From: leufen1 <l.leufen@fz-juelich.de>
Date: Tue, 17 May 2022 18:57:15 +0200
Subject: [PATCH] adjust fig height factor

---
 mlair/plotting/postprocessing_plotting.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlair/plotting/postprocessing_plotting.py b/mlair/plotting/postprocessing_plotting.py
index a39a216f..751282eb 100644
--- a/mlair/plotting/postprocessing_plotting.py
+++ b/mlair/plotting/postprocessing_plotting.py
@@ -1302,7 +1302,7 @@ class PlotTimeEvolutionMetric(AbstractPlotClass):
         return min(max(1.25 * val + 7.5, 10), 30)
 
     def _plot(self, data, years, months, vmin=None, vmax=None, subtitle=None):
-        fig, ax = plt.subplots(figsize=(max(data.shape[1] / 5, 12), max(data.shape[0] / 2.8, 2)))
+        fig, ax = plt.subplots(figsize=(max(data.shape[1] / 5, 12), max(data.shape[0] / 3, 2)))
         data.sort_index(inplace=True)
         sns.heatmap(data, linewidths=1, cmap="coolwarm", ax=ax, vmin=vmin, vmax=vmax,
                     cbar_kws={"aspect": self._aspect_cbar(data.shape[0])})
-- 
GitLab