From 7c5b673269cc0528299d968f3d64709c3f9d9568 Mon Sep 17 00:00:00 2001 From: Schneider Leo <leo.schneider@etu.ec-lyon.fr> Date: Wed, 2 Apr 2025 15:54:20 +0200 Subject: [PATCH] fix : overlapping title on plot fig --- image_ref/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/image_ref/main.py b/image_ref/main.py index 9ac9928..1d73a0d 100644 --- a/image_ref/main.py +++ b/image_ref/main.py @@ -120,7 +120,6 @@ def run_duo(args): plt.ylabel('accuracy') plt.legend(loc="upper left") plt.ylim(0, 1.05) - plt.tight_layout() plt.subplot(2, 1, 2) plt.plot(train_loss, label='train') @@ -129,7 +128,6 @@ def run_duo(args): plt.xlabel('epoch') plt.ylabel('loss') plt.legend(loc="upper left") - plt.tight_layout() plt.show() -- GitLab