Tweak plot params
This commit is contained in:
parent
29459d5386
commit
0cd5377442
4
wsgi.py
4
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user