Skip to content

Commit 5df95b6

Browse files
committed
remove tight_layout, caused intermittent errors
1 parent 6e0737b commit 5df95b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

XPointMLTest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ def plot_training_history(train_losses, val_losses, save_path='plots/training_hi
622622
ymax = max(max(train_losses), max(val_losses)) * 1.1
623623
plt.ylim(ymin, ymax)
624624

625-
plt.tight_layout()
626625
plt.savefig(save_path, dpi=300)
627626
print(f"Training history plot saved to {save_path}")
628627
plt.close()

0 commit comments

Comments
 (0)