From ce11bf01e10d6ed4130e30b13d67319908304c79 Mon Sep 17 00:00:00 2001 From: Thomas Lazarus Date: Sat, 25 May 2024 15:24:45 -0500 Subject: [PATCH] Fixes deprecation warning from matplotlib --- skops/card/_model_card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skops/card/_model_card.py b/skops/card/_model_card.py index 02cd8000..81324b1f 100644 --- a/skops/card/_model_card.py +++ b/skops/card/_model_card.py @@ -1227,7 +1227,7 @@ def add_permutation_importances( _, ax = plt.subplots() ax.boxplot( x=permutation_importances.importances[sorted_importances_idx].T, - labels=columns[sorted_importances_idx], + tick_labels=columns[sorted_importances_idx], vert=False, ) ax.set_title(plot_name)