From 953915f5626923ef55f6ccfe4635ea6d9af5a97a Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sat, 27 Nov 2021 00:26:43 +0300 Subject: [PATCH] [python] remove "auto" value of `ylabel` argument of `plot_metric()` function (#4818) --- 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: