code: def create_plot():
      fig, ax = plt.subplots()
      (line,) = ax.plot([0, 1, 3, 8, 5], "-", lw=5)
      label = "<h1>Line {}</h1>".format("A")
      plugins.connect(fig, plugins.LineHTMLTooltip(line, label))
      ax.set_title("Line with HTML Tooltip")
      return fig
  
imports: import matplotlib.pyplot
  import mpld3
  from mpld3 import plugins
label_desc: Use image node_id 1 for calling a global function with example usage: create_plot() and returns: fig