From 74d35f420c09be20b9a3743c894453a501449d3d Mon Sep 17 00:00:00 2001 From: Dovydas Date: Sun, 3 Apr 2022 21:29:48 +0300 Subject: [PATCH] autoscale y axis for training curve plots --- awarememristor/plotting/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awarememristor/plotting/utils.py b/awarememristor/plotting/utils.py index c92409d..8b0fef1 100644 --- a/awarememristor/plotting/utils.py +++ b/awarememristor/plotting/utils.py @@ -205,7 +205,7 @@ def plot_training_curves( axis.set_yscale("log") if metric == "error": - axis.set_ylim(top=85) + axis.set_ylim(top=85, auto=True) def plot_curve(axis, x, y, color, metric="error", linestyle="solid", is_many=False):