code: def sel(self, **kwargs):
      processed = {}
      for k, v in kwargs.items():
          if isinstance(v, type) and issubclass(v, Widget):
              if hasattr(v, "end"):
                  values = self._current[k].values
                  v = v(name=k, start=values.min(), end=values.max())
              if hasattr(v, "options"):
                  v = v(
                      name=k,
                      options={
                          str(v): v for v in self._current[k].values
                      },
                  )
          processed[k] = v
      self._method = "sel"
      return self.__call__(**processed)
  
file_path: hvplot/hvplot/xarray.py
imports: import xarray
  from panel.widgets import Widget
  from .interactive import Interactive
label_desc: Use image node_id 2 for calling the XArrayInteractive obj's underlying member method code with example usage: obj.sel() and returns: self