Deal with different style format (str, list, tuple)

def _read_style(style):
    ''' Deal with different style format (str, list, tuple)'''

    if isinstance(style, string_types):
        style = [style]
    else:
        style = list(style)

    return style