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)