menpo/visualize/widgets/tools.py
def _convert_str_to_list_float(s):
    r"""
    Function that converts a given string to a list of float numbers.
    For example:
        _convert_str_to_list_float('1, 2, 3') returns [1.0, 2.0, 3.0]
    """
    if isinstance(s, str):
        return [float(i[:-1]) if i[-1] == ',' else float(i) for i in s.split()]
    else:
        return []
r"""
    Function that converts a given string to a list of float numbers.
    For example:
        _convert_str_to_list_float('1, 2, 3') returns [1.0, 2.0, 3.0]
    
r"""
Function that converts a given string to a list of float numbers.
r " " " Function that converts a given string to a list of float numbers .
def _convert_str_to_list_float(s):
    if isinstance(s, str):
        return [float(i[:-1]) if i[-1] == ',' else float(i) for i in s.split()]
    else:
        return []
def _convert_str_to_list_float ( s ) : if isinstance ( s , str ) : return [ float ( i [ : - 1 ] ) if i [ - 1 ] == ',' else float ( i ) for i in s . split ( ) ] else : return [ ]
r"""
Function that converts a given string to a list of float numbers.
r " " " Function that converts a given string to a list of float numbers .
r"""
    Function that converts a given string to a list of float numbers.
    For example:
        _convert_str_to_list_float('1, 2, 3') returns [1.0, 2.0, 3.0]
    """
s