From f267cc7545ec5918f30244591a0c0d5784c7cd84 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sat, 20 Nov 2021 03:36:06 +0300 Subject: [PATCH] remove "auto" value of `ylabel` argument of `plot_metric()` function --- python-package/lightgbm/plotting.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python-package/lightgbm/plotting.py b/python-package/lightgbm/plotting.py index bd552b58e7c5..a0a4bdab9ac1 100644 --- a/python-package/lightgbm/plotting.py +++ b/python-package/lightgbm/plotting.py @@ -403,11 +403,6 @@ def plot_metric( ylim = (min_result - range_result * 0.2, max_result + range_result * 0.2) ax.set_ylim(ylim) - if ylabel == 'auto': - _log_warning("'auto' value of 'ylabel' argument is deprecated and will be removed in a future release of LightGBM. " - "Use '@metric@' placeholder instead.") - ylabel = '@metric@' - if title is not None: ax.set_title(title) if xlabel is not None: