From 76b210024d94af41d9cf4c71d42a615980d42d4f Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 13 Nov 2019 12:18:52 +0100 Subject: [PATCH] Separate semilogx and TPR options in ROC plots --- bob/pad/base/script/pad_figure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/pad/base/script/pad_figure.py b/bob/pad/base/script/pad_figure.py index d073565..4633b2b 100644 --- a/bob/pad/base/script/pad_figure.py +++ b/bob/pad/base/script/pad_figure.py @@ -328,7 +328,7 @@ class Roc(bio_figure.Roc): def __init__(self, ctx, scores, evaluation, func_load): super(Roc, self).__init__(ctx, scores, evaluation, func_load) self._x_label = ctx.meta.get("x_label") or "APCER" - default_y_label = "1-BPCER" if self._semilogx else "BPCER" + default_y_label = "1-BPCER" if self._tpr else "BPCER" self._y_label = ctx.meta.get("y_label") or default_y_label -- GitLab