From 1cae122f35fb2bdfbbafc97030e8dedc7144e43a Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Tue, 22 May 2018 10:23:08 +0200
Subject: [PATCH] Fixed bob bio dir x_labels and y_labels

---
 bob/bio/base/script/figure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bob/bio/base/script/figure.py b/bob/bio/base/script/figure.py
index c41da2bd..a39aa7e7 100644
--- a/bob/bio/base/script/figure.py
+++ b/bob/bio/base/script/figure.py
@@ -76,8 +76,8 @@ class Dir(measure_figure.PlotBase):
         self._semilogx = ctx.meta.get('semilogx', True)
         self._rank = ctx.meta.get('rank', 1)
         self._title = self._title or 'DIR curve'
-        self._x_label = self._title or 'FAR'
-        self._y_label = self._title or 'DIR'
+        self._x_label = self._x_label or 'False Alarm Rate'
+        self._y_label = self._y_label or 'Detection and Identification Rate'
 
     def compute(self, idx, input_scores, input_names):
         ''' Plot DIR for dev and eval data using
-- 
GitLab