From a40a83abaa7114806983fe6164e3fec90a84a861 Mon Sep 17 00:00:00 2001 From: Christophe Bedetti Date: Wed, 21 Sep 2022 13:46:01 -0400 Subject: [PATCH] Remove matplotlib rotation ValueError --- polyssifier/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polyssifier/report.py b/polyssifier/report.py index d3a0719..848fa27 100644 --- a/polyssifier/report.py +++ b/polyssifier/report.py @@ -143,7 +143,7 @@ def plot_scores(scores, scoring='auc', file_name='temp', min_val=None): break ax1.text(rect.get_x() - rect.get_width() / 2., ymin + (1 - ymin) * .01, data.index[n], ha='center', va='bottom', - rotation='90', color='black', fontsize=15) + rotation=90, color='black', fontsize=15) plt.tight_layout() plt.savefig(file_name + '.pdf') plt.savefig(file_name + '.svg', transparent=False)