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