code: def test_mapped_properties(self):
      x = y = [1, 2, 3, 4]
      g = ["a", "a", "b", "b"]
      p = (
          Plot(x=x, y=y, color=g, linewidth=g, linestyle=g)
          .add(Paths())
          .plot()
      )
      (lines,) = p._figure.axes[0].collections
  
      assert not np.array_equal(
          lines.get_colors()[0], lines.get_colors()[1]
      )
      assert lines.get_linewidths()[0] != lines.get_linewidth()[1]
      assert lines.get_linestyle()[0] != lines.get_linestyle()[1]
  
imports: import numpy
  import matplotlib
  from matplotlib.colors import same_color, to_rgba
  from numpy.testing import assert_array_equal, assert_array_almost_equal
  from seaborn._core.plot import Plot
  from seaborn._core.moves import Dodge
  from seaborn._marks.line import Dash, Line, Path, Lines, Paths, Range
label_desc: Use image node_id 3 for calling the TestPaths obj's underlying member method code with example usage: obj.test_mapped_properties() without return types