Skip to content
Snippets Groups Projects
Commit 0c770a9d authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Corrected minor issue

parent 1419a1b0
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ def analyzeIterLabels(labelsAnalysisList, directory, classifiersNames, minSize=1
plt.title('Errors depending on the classifier')
ticks = np.arange(nbIter/2-0.5, nbClassifiers * nbIter, nbIter)
plt.xticks(ticks, classifiersNames, rotation="vertical")
cbar = fig.colorbar(cax, ticks=[0, len(labelsAnalysisList)])
cbar = fig.colorbar(cax, ticks=[0, -len(labelsAnalysisList)])
cbar.ax.set_yticklabels(['Always Wrong', 'Always Right'])
fig.tight_layout()
fig.savefig(directory + time.strftime("%Y%m%d-%H%M%S") + "-error_analysis.png")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment