def make_figtitle(testres, plotname='', filt_cfg=None):
    '\n        Helper for consistent figure titles\n\n        CommandLine:\n            python -m wbia --tf TestResult.make_figtitle  --prefix "Seperability " --db GIRM_Master1   -a timectrl -t Ell:K=2     --hargv=scores\n            python -m wbia --tf TestResult.make_figtitle\n\n        Example:\n            >>> # ENABLE_DOCTEST\n            >>> from wbia.expt.test_result import *  # NOQA\n            >>> import wbia\n            >>> ibs, testres = wbia.testdata_expts(\'PZ_MTEST\')\n            >>> plotname = \'\'\n            >>> figtitle = testres.make_figtitle(plotname)\n            >>> result = (\'figtitle = %r\' % (figtitle,))\n            >>> print(result)\n        '
    figtitle_prefix = ut.get_argval('--prefix', type_=str, default='')
    if (figtitle_prefix != ''):
        figtitle_prefix = (figtitle_prefix.rstrip() + ' ')
    figtitle = (figtitle_prefix + plotname)
    hasprefix = (figtitle_prefix == '')
    if hasprefix:
        figtitle += '\n'
    title_aug = testres.get_title_aug(friendly=True, with_cfg=hasprefix)
    figtitle += (' ' + title_aug)
    if (filt_cfg is not None):
        filt_cfgstr = ut.get_cfg_lbl(filt_cfg)
        if (filt_cfgstr.strip() != ':'):
            figtitle += (' ' + filt_cfgstr)
    return figtitle
Helper for consistent figure titles

CommandLine:
    python -m wbia --tf TestResult.make_figtitle  --prefix "Seperability " --db GIRM_Master1   -a timectrl -t Ell:K=2     --hargv=scores
    python -m wbia --tf TestResult.make_figtitle

Example:
    >>> # ENABLE_DOCTEST
    >>> from wbia.expt.test_result import *  # NOQA
    >>> import wbia
    >>> ibs, testres = wbia.testdata_expts('PZ_MTEST')
    >>> plotname = ''
    >>> figtitle = testres.make_figtitle(plotname)
    >>> result = ('figtitle = %r' % (figtitle,))
    >>> print(result)
def make_figtitle(testres, plotname=, filt_cfg=None):
    '\n        Helper for consistent figure titles\n\n        CommandLine:\n            python -m wbia --tf TestResult.make_figtitle  --prefix "Seperability " --db GIRM_Master1   -a timectrl -t Ell:K=2     --hargv=scores\n            python -m wbia --tf TestResult.make_figtitle\n\n        Example:\n            >>> # ENABLE_DOCTEST\n            >>> from wbia.expt.test_result import *  # NOQA\n            >>> import wbia\n            >>> ibs, testres = wbia.testdata_expts(\'PZ_MTEST\')\n            >>> plotname = \'\'\n            >>> figtitle = testres.make_figtitle(plotname)\n            >>> result = (\'figtitle = %r\' % (figtitle,))\n            >>> print(result)\n        '
    figtitle_prefix = ut.get_argval('--prefix', type_=str, default=)
    if (figtitle_prefix != ):
        figtitle_prefix = (figtitle_prefix.rstrip() + ' ')
    figtitle = (figtitle_prefix + plotname)
    hasprefix = (figtitle_prefix == )
    if hasprefix:
        figtitle += '\n'
    title_aug = testres.get_title_aug(friendly=True, with_cfg=hasprefix)
    figtitle += (' ' + title_aug)
    if (filt_cfg is not None):
        filt_cfgstr = ut.get_cfg_lbl(filt_cfg)
        if (filt_cfgstr.strip() != ':'):
            figtitle += (' ' + filt_cfgstr)
    return figtitle