From 06be98f59f9cb5faba5a1252b9a01b860dfdadfc Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 16 Sep 2019 12:15:39 +0200 Subject: [PATCH] Prevented cut off label text Signed-off-by: Jim Martens --- src/twomartens/masterthesis/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/debug.py b/src/twomartens/masterthesis/debug.py index a30bb3c..498e4a4 100644 --- a/src/twomartens/masterthesis/debug.py +++ b/src/twomartens/masterthesis/debug.py @@ -133,7 +133,7 @@ def _draw_bbox_image(image: Image, axis=current_axis, colors=colors) - pyplot.savefig(filename) + pyplot.savefig(filename, bbox_inches='tight') pyplot.close(figure)