From f07bd425f7a6f55ed923e6b5e3c19d53f7e360a3 Mon Sep 17 00:00:00 2001 From: Toby Brown Date: Fri, 2 Aug 2024 11:19:13 +0100 Subject: [PATCH] add bbox_inches='tight' kwarg to savefig --- psrecord/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psrecord/main.py b/psrecord/main.py index 1e324d7..ce1c0a9 100644 --- a/psrecord/main.py +++ b/psrecord/main.py @@ -323,4 +323,4 @@ def monitor( ax.grid() - fig.savefig(plot) + fig.savefig(plot, bbox_inches='tight')