code: def test_overlay_points_errorbars(self, dynamic=False):
      points = Points(self.data)
      error = ErrorBars(self.data, kdims="x", vdims=["y", "e"])
      lnk_sel = link_selections.instance(unselected_color="#ff0000")
      overlay = points * error
  
      if dynamic:
          overlay = hv.util.Dynamic(overlay)
  
      linked = lnk_sel(overlay)
      current_obj = linked[()]
  
      # Check initial base layers
      self.check_base_points_like(current_obj.Points.I, lnk_sel)
      self.check_base_points_like(current_obj.ErrorBars.I, lnk_sel)
  
      # Check initial selection layers
      self.check_overlay_points_like(
          current_obj.Points.II, lnk_sel, self.data
      )
      self.check_overlay_points_like(
          current_obj.ErrorBars.II, lnk_sel, 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 layers haven't changed
      self.check_base_points_like(current_obj.Points.I, lnk_sel)
      self.check_base_points_like(current_obj.ErrorBars.I, lnk_sel)
  
      # Check selected layers
      self.check_overlay_points_like(
          current_obj.Points.II, lnk_sel, self.data.iloc[[0, 2]]
      )
      self.check_overlay_points_like(
          current_obj.ErrorBars.II, lnk_sel, self.data.iloc[[0, 2]]
      )
  
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 11 for calling the TestLinkSelections obj's underlying member method code with example usage: obj.test_overlay_points_errorbars(dynamic) without return types