Skip to content

Commit ce11bf0

Browse files
committed
Fixes deprecation warning from matplotlib
1 parent 3739f1f commit ce11bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skops/card/_model_card.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ def add_permutation_importances(
12271227
_, ax = plt.subplots()
12281228
ax.boxplot(
12291229
x=permutation_importances.importances[sorted_importances_idx].T,
1230-
labels=columns[sorted_importances_idx],
1230+
tick_labels=columns[sorted_importances_idx],
12311231
vert=False,
12321232
)
12331233
ax.set_title(plot_name)

0 commit comments

Comments
 (0)