Commit aed05f24 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

[script][figure,pad_commands,vuln_commands] --titles option for PAD and

change option defaults
parent e1e9a249
Pipeline #20793 passed with stage
......@@ -520,7 +520,7 @@ class Epsc3D(Epsc):
class Roc(bio_figure.Roc):
'''ROC for PARD'''
'''ROC for PAD'''
def __init__(self, ctx, scores, evaluation, func_load):
super(Roc, self).__init__(ctx, scores, evaluation, func_load)
self._x_label = ctx.meta.get('x_label') or 'APCER'
......
......@@ -37,7 +37,7 @@ def gen(ctx, outdir, mean_match, mean_non_match, n_sys, five_col):
@click.command()
@common_options.scores_argument(nargs=-1)
@common_options.title_option()
@common_options.titles_option()
@common_options.legends_option()
@common_options.legend_loc_option(dflt='lower-right')
@common_options.no_legend_option()
......@@ -54,7 +54,7 @@ def gen(ctx, outdir, mean_match, mean_non_match, n_sys, five_col):
@common_options.const_layout_option()
@common_options.style_option()
@common_options.linestyles_option()
@common_options.figsize_option()
@common_options.figsize_option(dflt=None)
@common_options.min_far_option()
@verbosity_option()
@click.pass_context
......@@ -83,7 +83,7 @@ def roc(ctx, scores, evaluation, **kargs):
@click.command()
@common_options.scores_argument(nargs=-1)
@common_options.title_option()
@common_options.titles_option()
@common_options.output_plot_file_option(default_out='det.pdf')
@common_options.legends_option()
@common_options.legend_loc_option(dflt='upper-right')
......@@ -98,7 +98,7 @@ def roc(ctx, scores, evaluation, **kargs):
@common_options.const_layout_option()
@common_options.style_option()
@common_options.linestyles_option()
@common_options.figsize_option()
@common_options.figsize_option(dflt=None)
@common_options.lines_at_option()
@common_options.min_far_option()
@verbosity_option()
......@@ -125,7 +125,7 @@ def det(ctx, scores, evaluation, **kargs):
@click.command()
@common_options.scores_argument(nargs=-1)
@common_options.title_option()
@common_options.titles_option()
@common_options.output_plot_file_option(default_out='hist.pdf')
@common_options.eval_option()
@common_options.n_bins_option()
......@@ -168,7 +168,7 @@ def hist(ctx, scores, evaluation, **kwargs):
@click.command()
@common_options.scores_argument(min_arg=1, force_eval=True, nargs=-1)
@common_options.title_option()
@common_options.titles_option()
@common_options.output_plot_file_option(default_out='epc.pdf')
@common_options.legends_option()
@common_options.legend_loc_option(dflt='upper-center')
......@@ -177,7 +177,7 @@ def hist(ctx, scores, evaluation, **kwargs):
@common_options.const_layout_option()
@common_options.style_option()
@common_options.linestyles_option()
@common_options.figsize_option()
@common_options.figsize_option(dflt=None)
@verbosity_option()
@click.pass_context
def epc(ctx, scores, **kargs):
......
......@@ -311,7 +311,6 @@ def epsc(ctx, scores, criteria, var_param, fixed_param, three_d, sampling,
@click.command()
@common_options.scores_argument(nargs=-1, min_arg=2)
@common_options.title_option()
@common_options.output_plot_file_option(default_out='vuln_hist.pdf')
@common_options.eval_option()
@common_options.n_bins_option()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment