class_docstr: Draw the supplied Spline annotation (see Spline docstring)
class_docstr_tok: ["Draw","the","supplied","Spline","annotation","(","see","Spline","docstring",")"]
code: def draw_annotation(self, axis, data, opts):
      verts, codes = data
      if not len(verts):
          return []
      patch = patches.PathPatch(
          mpl.path.Path(verts, codes), facecolor="none", **opts
      )
      axis.add_patch(patch)
      return [patch]
  
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 for calling the SplinePlot obj's underlying member method code with example usage: obj.draw_annotation(axis, data, opts) and returns: list, list