From f44a371d6aeadfc715a9af7bc00cef312e5c3944 Mon Sep 17 00:00:00 2001 From: Theophile GENTILHOMME <tgentilhomme@jurasix08.idiap.ch> Date: Mon, 23 Apr 2018 08:30:33 +0200 Subject: [PATCH] Small modification: input of _setup_hist() are now lists (previous changes in bob.measure --- 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 3dcd984f..e65c9d31 100644 --- a/bob/bio/base/script/figure.py +++ b/bob/bio/base/script/figure.py @@ -202,8 +202,8 @@ class Hist(measure_figure.Hist): def _setup_hist(self, neg, pos): self._title_base = 'Bio scores' self._density_hist( - pos, label='Genuines', alpha=0.9, color='C2', **self._kwargs + pos[0], label='Genuines', alpha=0.9, color='C2', **self._kwargs ) self._density_hist( - neg, label='Zero-effort impostors', alpha=0.8, color='C0', **self._kwargs + neg[0], label='Zero-effort impostors', alpha=0.8, color='C0', **self._kwargs ) -- GitLab