"...git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "a97e9d8cacadfddc3ff19790242e335499639168"
Unverified Commit 953915f5 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[python] remove "auto" value of `ylabel` argument of `plot_metric()` function (#4818)

parent 701e8740
...@@ -403,11 +403,6 @@ def plot_metric( ...@@ -403,11 +403,6 @@ def plot_metric(
ylim = (min_result - range_result * 0.2, max_result + range_result * 0.2) ylim = (min_result - range_result * 0.2, max_result + range_result * 0.2)
ax.set_ylim(ylim) 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: if title is not None:
ax.set_title(title) ax.set_title(title)
if xlabel is not None: if xlabel is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment