From 2099a5952ba757e57142fb8ee58df2b3160bfcaa Mon Sep 17 00:00:00 2001 From: Simon Weiss Date: Thu, 7 Jan 2021 22:57:47 +0100 Subject: [PATCH] Add spacing between subplots --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 762bda6..917634c 100644 --- a/main.py +++ b/main.py @@ -55,7 +55,8 @@ def main(): clones_frame.to_csv(clones_path) # Plots - _, axes = plt.subplots(nrows=2) + fig, axes = plt.subplots(nrows=2) + fig.tight_layout(h_pad=6) # Consider letting users configure plots # traffic_weekly = traffic_frame.resample("W", label="left").sum().tail(12)