class_docstr: The annotate function allows drawing, editing and annotating any
  given Element (if it is supported). The annotate function returns
  a Layout of the editable plot and an Overlay of table(s), which
  allow editing the data of the element. The edited and annotated
  data may be accessed using the element and selected properties.
class_docstr_tok: ["The","annotate","function","allows","drawing",",","editing","and","annotating","any","given","Element","(","if","it","is","supported",")",".","The","annotate","function","returns","a","Layout","of","the","editable","plot","and","an","Overlay","of","table","(","s",")",",","which","allow","editing","the","data","of","the","element",".","The","edited","and","annotated","data","may","be","accessed","using","the","element","and","selected","properties","."]
code: def selected(self):
      selected = self.annotator.selected
      if Store.current_backend == "bokeh":
          return selected.opts(clone=True, tools=["hover"])
  
imports: import sys
  from inspect import getmro
  import param
  from panel.layout import Row, Tabs
  from panel.pane import PaneBase
  from panel.util import param_name
  from .core import DynamicMap, Element, HoloMap, Layout, Overlay, Store, ViewableElement
  from .core.util import isscalar
  from .element import Curve, Path, Points, Polygons, Rectangles, Table
  from .plotting.links import DataLink, RectanglesTableLink, SelectionLink, VertexTableLink
  from .streams import BoxEdit, CurveEdit, PointDraw, PolyDraw, PolyEdit, Selection1D
label_desc: Use image node_id 2 for calling the annotate obj's underlying member method code with example usage: obj.selected() and returns: selected