Skip to content
Snippets Groups Projects
Commit ef877f01 authored by Stephane Chavin's avatar Stephane Chavin
Browse files

correct axis

parent e442722f
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,14 @@ def main(arguments): ...@@ -40,7 +40,14 @@ def main(arguments):
label=f'mAP {class_index} = {area_under_curve}', label=f'mAP {class_index} = {area_under_curve}',
color=colors[class_index], color=colors[class_index],
linestyle=lines[class_index]) linestyle=lines[class_index])
plt.legend(loc='upper center', bbox_to_anchor=(0.5, -0.05),
plt.xlabel('Recall')
plt.ylabel('Precision')
plt.xlim([0,1])
plt.ylim([0,1])
plt.legend(loc='upper center', bbox_to_anchor=(0.5, -0.08),
fancybox=True, ncol=8) fancybox=True, ncol=8)
plt.tight_layout() plt.tight_layout()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment