Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
953915f5
Unverified
Commit
953915f5
authored
Nov 27, 2021
by
Nikita Titov
Committed by
GitHub
Nov 27, 2021
Browse files
[python] remove "auto" value of `ylabel` argument of `plot_metric()` function (#4818)
parent
701e8740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
python-package/lightgbm/plotting.py
python-package/lightgbm/plotting.py
+0
-5
No files found.
python-package/lightgbm/plotting.py
View file @
953915f5
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment