Skip to content

Commit

Permalink
update figure legend
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaillard committed Oct 25, 2024
1 parent 7bf4d86 commit 9ab4f10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/plot_variable_importance_classif.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
importance_arr[:, 0, :],
positions=np.arange(1, n_features + 1) - 0.25,
widths=0.2,
label="Linear",
label="CPI Linear",
vert=False,
)
for item in ["whiskers", "fliers", "medians", "caps", "boxes"]:
Expand All @@ -245,7 +245,7 @@
importance_arr[:, 1, :],
positions=np.arange(1, n_features + 1),
widths=0.2,
label="Poly",
label="CPI Poly",
vert=False,
)
for item in ["whiskers", "fliers", "medians", "caps", "boxes"]:
Expand All @@ -255,7 +255,7 @@
importance_arr[:, 2, :],
positions=np.arange(1, n_features + 1) + 0.25,
widths=0.2,
label="Permutation",
label="PI Poly",
vert=False,
)
for item in ["whiskers", "fliers", "medians", "caps", "boxes"]:
Expand Down

0 comments on commit 9ab4f10

Please sign in to comment.