diff --git a/wsgi.py b/wsgi.py index 4518b04..73879b7 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) + fig = plt.figure(dpi=300, figsize=(8, 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.025) + plt.ylim(0, ceil_val * 1.05) plt.legend() # use timezone offset to center tick labels