From 60609302085766de66e5a01e7cf7d794d0f5445b Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Wed, 20 Sep 2023 02:49:26 +0200 Subject: [PATCH] Tweak plot params --- wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wsgi.py b/wsgi.py index 73879b7..904537e 100644 --- a/wsgi.py +++ b/wsgi.py @@ -113,7 +113,7 @@ def plot( fix_lims: bool = True, max_shading_date=None, ) -> str: - fig = plt.figure(dpi=300, figsize=(8, 5)) + fig = plt.figure(dpi=300, figsize=(7, 5)) if fix_lims: for total_target in total_targets: @@ -173,7 +173,7 @@ def plot( idx = np.argmin(nearest_target) ceil_val = max(max_val, total_targets[idx]) - plt.ylim(0, ceil_val * 1.05) + plt.ylim(0, ceil_val * 1.04) plt.legend() # use timezone offset to center tick labels