code: def plot_supervised_chart(annotate=False):
      create_base(supervised=True)
      if annotate:
          fontdict = dict(color="r", weight="bold", size=14)
          pl.text(
              1.9,
              4.55,
              "X = vec.fit_transform(input)",
              fontdict=fontdict,
              rotation=20,
              ha="left",
              va="bottom",
          )
          pl.text(
              3.7,
              3.2,
              "clf.fit(X, y)",
              fontdict=fontdict,
              rotation=20,
              ha="left",
              va="bottom",
          )
          pl.text(
              1.7,
              1.5,
              "X_new = vec.transform(input)",
              fontdict=fontdict,
              rotation=20,
              ha="left",
              va="bottom",
          )
          pl.text(
              6.1,
              1.5,
              "y_new = clf.predict(X_new)",
              fontdict=fontdict,
              rotation=20,
              ha="left",
              va="bottom",
          )
  
imports: import numpy
  import pylab
  from matplotlib.patches import Circle, Rectangle, Polygon, Arrow, FancyArrow
label_desc: Use image node_id 2 for calling a global function with example usage: plot_supervised_chart(annotate) without return types