def is_bar(bar_containers, **props):

    # is this patch in a bar container?
    for container in bar_containers:
        if props['mplobj'] in container:
            return True
    return False
A test to decide whether a path is a bar from a vertical bar chart.
dataset/ETHPy150Open plotly/plotly.py/plotly/matplotlylib/mpltools.py/is_bar