code: def test_mapped_edgewidth(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))
  
imports: import numpy
  import pandas
  from matplotlib.colors import to_rgba, to_rgba_array
  import pytest
  from numpy.testing import assert_array_equal
  from seaborn._core.plot import Plot
  from seaborn._marks.bar import Bar, Bars
label_desc: Use image node_id 8 for calling the TestBars obj's underlying member method code with example usage: obj.test_mapped_edgewidth(x, y) without return types