diff --git a/bob/measure/script/figure.py b/bob/measure/script/figure.py index 1fe241e324a384b71d029af547ba9cdf3760a394..b9e4aeecd378a8e88d1b802e7afac927074fa83c 100644 --- a/bob/measure/script/figure.py +++ b/bob/measure/script/figure.py @@ -558,6 +558,7 @@ class Hist(PlotBase): % self.n_systems ) self._criterion = ctx.meta.get('criterion') + self._no_line = ctx.meta.get('no_line', False) self._nrows = ctx.meta.get('n_row', 1) self._ncols = ctx.meta.get('n_col', 1) self._nlegends = ctx.meta.get('legends_ncol', 10) @@ -593,7 +594,8 @@ class Hist(PlotBase): '' if self._criterion is None else self._criterion.upper(), ' (dev)' if self._eval else '' ) - self._lines(threshold, label, neg, pos, idx) + if self._eval and not self._no_line: + self._lines(threshold, label, neg, pos, idx) if sub_plot_idx == 1: self._plot_legends() if self._step_print == sub_plot_idx or idx == self.n_systems - 1: