code: def test_layout_selection_points_table(self):
      points = Points(self.data)
      table = Table(self.data)
      lnk_sel = link_selections.instance(
          selected_color="#aa0000", unselected_color="#ff0000"
      )
      linked = lnk_sel(points + table)
  
      current_obj = linked[()]
  
      # Check initial base points
      self.check_base_points_like(current_obj[0][()].Points.I, lnk_sel)
  
      # Check initial selection points
      self.check_overlay_points_like(
          current_obj[0][()].Points.II, lnk_sel, self.data
      )
  
      # Check initial table
      self.assertEqual(
          self.element_color(current_obj[1][()]),
          [lnk_sel.selected_color] * len(self.data),
      )
  
      # Select first and third point
      selectionxy = (
          TestLinkSelections.get_value_with_key_type(
              lnk_sel._selection_expr_streams, hv.Points
          )
          .input_streams[0]
          .input_stream.input_streams[0]
      )
  
      selectionxy.event(bounds=(0, 0, 4, 2))
      current_obj = linked[()]
  
      # Check base points
      self.check_base_points_like(current_obj[0][()].Points.I, lnk_sel)
  
      # Check selection points
      self.check_overlay_points_like(
          current_obj[0][()].Points.II, lnk_sel, self.data.iloc[[0, 2]]
      )
  
      # Check selected table
      self.assertEqual(
          self.element_color(current_obj[1][()]),
          [
              lnk_sel.selected_color,
              lnk_sel.unselected_color,
              lnk_sel.selected_color,
          ],
      )
  
imports: from unittest import skip, skipIf
  import pandas
  import holoviews
  from holoviews.core.options import Cycle, Store
  from holoviews.element import ErrorBars, Points, Rectangles, Table, VSpan
  from holoviews.element.comparison import ComparisonTestCase
  from holoviews.plotting.util import linear_gradient
  from holoviews.selection import link_selections
  from holoviews.streams import SelectionXY
label_desc: Use image node_id 10 for calling the TestLinkSelections obj's underlying member method code with example usage: obj.test_layout_selection_points_table() without return types