Example #1
0
def sep_dev_eval_option(dflt=True, **kwargs):
    '''Get option flag to say if dev and eval plots should be in different
    plots'''
    return bool_option(
        'split', 's', 'If set, evaluation and dev curve in different plots',
        dflt
    )
Example #2
0
def sep_dev_eval_option(dflt=True, **kwargs):
    """Get option flag to say if dev and eval plots should be in different
    plots"""
    return bool_option(
        "split",
        "s",
        "If set, evaluation and dev curve in different plots",
        dflt,
    )
Example #3
0
def no_legend_option(dflt=True, **kwargs):
    '''Get option flag to say if legend should be displayed or not'''
    return bool_option(
        'disp-legend', 'dl', 'If set, no legend will be printed.',
        dflt=dflt
    )
Example #4
0
def print_filenames_option(dflt=True, **kwargs):
    '''Option to tell if filenames should be in the title'''
    return bool_option('show-fn', 'P', 'If set, show filenames in title', dflt,
                       **kwargs)
Example #5
0
def semilogx_option(dflt=False, **kwargs):
    '''Option to use semilog X-axis'''
    return bool_option('semilogx', 'G', 'If set, use semilog on X axis', dflt,
                       **kwargs)
Example #6
0
def cmc_option(**kwargs):
    '''Get option flag to say if cmc scores'''
    return bool_option('cmc', 'C', 'If set, CMC score files are provided',
                       **kwargs)
Example #7
0
def linestyles_option(dflt=False, **kwargs):
    ''' Get option flag to turn on/off linestyles'''
    return bool_option('line-linestyles', 'S', 'If given, applies a different '
                       'linestyles to each line.', dflt, **kwargs)
Example #8
0
def no_legend_option(dflt=True, **kwargs):
    """Get option flag to say if legend should be displayed or not"""
    return bool_option("disp-legend",
                       "dl",
                       "If set, no legend will be printed.",
                       dflt=dflt)
Example #9
0
def print_filenames_option(dflt=True, **kwargs):
    """Option to tell if filenames should be in the title"""
    return bool_option("show-fn", "P", "If set, show filenames in title", dflt,
                       **kwargs)
Example #10
0
def tpr_option(dflt=False, **kwargs):
    """Option to use TPR (true positive rate) on y-axis"""
    return bool_option(
        "tpr", "tpr",
        "If set, use TPR (also called 1-FNR, 1-FNMR, or 1-BPCER) on Y axis",
        dflt, **kwargs)
Example #11
0
def semilogx_option(dflt=False, **kwargs):
    """Option to use semilog X-axis"""
    return bool_option("semilogx", "G", "If set, use semilog on X axis", dflt,
                       **kwargs)
Example #12
0
def cmc_option(**kwargs):
    """Get option flag to say if cmc scores"""
    return bool_option("cmc", "C", "If set, CMC score files are provided",
                       **kwargs)
Example #13
0
def linestyles_option(dflt=False, **kwargs):
    """Get option flag to turn on/off linestyles"""
    return bool_option(
        "line-styles", "S",
        "If given, applies a different line style to each line.", dflt,
        **kwargs)