def METHOD_NAME(self):
    x = ["a", "b"]
    y = [1, 2]
    mark = Bar(alpha=.2)
    p = Plot(x, y, color=x, edgewidth=y).add(mark).plot()
    ax = p._figure.axes[0]
    colors = p._theme["axes.prop_cycle"].by_key()["color"]
    for i, bar in enumerate(ax.patches):
        assert bar.get_facecolor() == to_rgba(colors[i], mark.alpha)
        assert bar.get_edgecolor() == to_rgba(colors[i], 1)
    assert ax.patches[0].get_linewidth() < ax.patches[1].get_linewidth()