From 72ee1de5411ba97b88c168f795356446263746f7 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Fri, 28 Jul 2017 16:45:34 +0200 Subject: [PATCH] change ylim on ROC and EPC plots to better show results of biometric systems with very high accuracy --- bob/bio/base/script/evaluate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/bio/base/script/evaluate.py b/bob/bio/base/script/evaluate.py index 850dd563..e97be786 100644 --- a/bob/bio/base/script/evaluate.py +++ b/bob/bio/base/script/evaluate.py @@ -130,6 +130,7 @@ def _plot_roc(frrs, colors, labels, title, fontsize=10, position=None, farfrrs=N pyplot.grid(True, color=(0.6,0.6,0.6)) pyplot.legend(loc=position, prop = {'size':fontsize}) pyplot.title(title) + pyplot.ylim([0., 1.01]) return figure @@ -204,7 +205,7 @@ def _plot_epc(scores_dev, scores_eval, colors, labels, title, fontsize=10, posit pyplot.legend(loc=position, prop = {'size':fontsize}) pyplot.title(title) pyplot.xlim([-0.01, 1.01]) - pyplot.ylim([0., 0.51]) + pyplot.ylim([-0.01, 0.51]) return figure -- GitLab