def create_subplots_from_arguments(arguments, default_x='timestamp',
    default_table=None):
    """Creates an array of subplots from an argparse arguments list"""
    subplot = []
    subplots = [subplot]
    for pair in arguments:
        if pair == '/':
            subplot = []
            subplots.append(subplot)
        else:
            comma_spot = pair.find(',')
            if comma_spot != -1:
                x = pair[:pair.index(',')]
                y = pair[pair.index(',') + 1:]
            else:
                x = default_x
                y = pair
            table = None
            if default_table is not None:
                table = default_table
            subplot.append({'x': x, 'y': [y], 'table': table, 'options': {}})
    return subplots
