diff --git a/bob/measure/script/figure.py b/bob/measure/script/figure.py index f158f32bac6c35a244ceaddb447261e78f7bc1dc..84a64ee7a0d45dd75c6d5eaa3d70d519dbfa7960 100644 --- a/bob/measure/script/figure.py +++ b/bob/measure/script/figure.py @@ -711,8 +711,9 @@ class Hist(PlotBase): if col == 0: axis.set_ylabel(self._y_label) # rest to be printed - rest_print = self.n_systems - \ - int(idx / self._step_print) * self._step_print + rest_print = self.n_systems * (2 if self._eval and not self._hide_dev + else 1) - int(idx / self._step_print) \ + * self._step_print if n + self._ncols >= min(self._step_print, rest_print): axis.set_xlabel(self._x_label) dflt_title = "Eval. scores" if evaluation else "Dev. scores"