Skip to content

Commit

Permalink
Better xlabel in plot_importance()
Browse files Browse the repository at this point in the history
  • Loading branch information
mayer79 authored Nov 20, 2024
1 parent c172eba commit 0598499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/xgboost/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def plot_importance(
xlim: Optional[tuple] = None,
ylim: Optional[tuple] = None,
title: str = "Feature importance",
xlabel: str = "F score",
xlabel: str = "Importance score",
ylabel: str = "Features",
fmap: PathLike = "",
importance_type: str = "weight",
Expand Down

0 comments on commit 0598499

Please sign in to comment.