def METHOD_NAME(self, x, y):
    p = Plot(x, y, edgewidth=y).add(Bars()).plot()
    ax = p._figure.axes[0]
    lws = ax.collections[0].get_linewidths()
    assert_array_equal(np.argsort(lws), np.argsort(y))