class_docstr: AnnotationPlot handles the display of all annotation elements.
class_docstr_tok: ["AnnotationPlot","handles","the","display","of","all","annotation","elements","."]
code: def __init__(self, annotation, **params):
      self._annotation = annotation
      super().__init__(annotation, **params)
      self.handles["annotations"] = []
  
imports: import matplotlib
  import numpy
  import pandas
  import param
  from matplotlib import patches
  from matplotlib.lines import Line2D
  from ...core.options import abbreviated_exception
  from ...core.util import match_spec
  from ...element import HLines, HSpans, VLines, VSpans
  from .element import ColorbarPlot, ElementPlot
  from .plot import mpl_rc_context
label_desc: Use image node_id 1 to create a new AnnotationPlot object from inherited base classes: ElementPlot with example: obj = AnnotationPlot(annotation)