Skip to content
Snippets Groups Projects
Commit fa270494 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

[script][figure] Add no line option

Remove threshod vline form histogram plots
parent f01bf957
No related branches found
No related tags found
1 merge request!68Change --eval option default and Various fixes
...@@ -558,6 +558,7 @@ class Hist(PlotBase): ...@@ -558,6 +558,7 @@ class Hist(PlotBase):
% self.n_systems % self.n_systems
) )
self._criterion = ctx.meta.get('criterion') self._criterion = ctx.meta.get('criterion')
self._no_line = ctx.meta.get('no_line', False)
self._nrows = ctx.meta.get('n_row', 1) self._nrows = ctx.meta.get('n_row', 1)
self._ncols = ctx.meta.get('n_col', 1) self._ncols = ctx.meta.get('n_col', 1)
self._nlegends = ctx.meta.get('legends_ncol', 10) self._nlegends = ctx.meta.get('legends_ncol', 10)
...@@ -593,7 +594,8 @@ class Hist(PlotBase): ...@@ -593,7 +594,8 @@ class Hist(PlotBase):
'' if self._criterion is None else '' if self._criterion is None else
self._criterion.upper(), ' (dev)' if self._eval 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: if sub_plot_idx == 1:
self._plot_legends() self._plot_legends()
if self._step_print == sub_plot_idx or idx == self.n_systems - 1: if self._step_print == sub_plot_idx or idx == self.n_systems - 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment