Tweak plot params

This commit is contained in:
Felix Blanke 2023-09-20 02:46:34 +02:00
parent 29459d5386
commit 0cd5377442

View File

@ -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