Skip to content

Commit aded9e9

Browse files
committed
add x label to boxplot
1 parent 38509dd commit aded9e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/cross_validation/plot_instance_hardness_cv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@
7777
# %%
7878
plt.boxplot([skf_result['test_score'], ih_result['test_score']],
7979
tick_labels=["StratifiedKFold", "InstanceHardnessCV"], vert=False)
80+
plt.xlabel('Average precision')
8081
plt.tight_layout()
8182
plt.show()

0 commit comments

Comments
 (0)