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 )
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, )
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 )
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)