code: def test_xy_data(self):
      x = [1, 5, 3, np.nan, 2]
      y = [1, 4, 2, 5, 3]
      g = [1, 2, 1, 1, 2]
      p = Plot(x=x, y=y, group=g).add(Path()).plot()
      line1, line2 = p._figure.axes[0].get_lines()
  
      assert_array_equal(line1.get_xdata(), [1, 3, np.nan])
      assert_array_equal(line1.get_ydata(), [1, 2, np.nan])
      assert_array_equal(line2.get_xdata(), [5, 2])
      assert_array_equal(line2.get_ydata(), [4, 3])
  
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 1 for calling the TestPath obj's underlying member method code with example usage: obj.test_xy_data() without return types