code: def assert_path_shape_element(
      self, shape, element, xref="x", yref="y"
  ):
      # Check type
      self.assertEqual(shape["type"], "path")
  
      # Check svg path
      expected_path = (
          "M"
          + "L".join(
              [
                  f"{x} {y}"
                  for x, y in zip(
                      element.dimension_values(0),
                      element.dimension_values(1),
                  )
              ]
          )
          + "Z"
      )
  
      self.assertEqual(shape["path"], expected_path)
  
      # Check axis references
      self.assertEqual(shape["xref"], xref)
      self.assertEqual(shape["yref"], yref)
  
imports: import numpy
  from holoviews.element import Bounds, Box, HLine, Path, Rectangles, Segments, Tiles, VLine
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 1 for calling the TestPathShape obj's underlying member method code with example usage: obj.assert_path_shape_element(shape, element, xref, yref) without return types