code: def create_plot():
      fig, ax = plt.subplots()
      ax.grid(color="lightgray")
  
      rcolor_1 = [
          0.7074445660822728,
          0.10479000173471098,
          0.6414668195780913,
      ]
  
      rcolor_2 = [
          0.22633933378197624,
          0.7236195586385642,
          0.5361006106618125,
      ]
  
      p = [
          patches.Arrow(0.75, 0.75, 0.5, 0.5),
          patches.Circle((1, 2), 0.4),
          patches.RegularPolygon((1, 3), 5, radius=0.4),
          patches.Rectangle((1.6, 0.75), 0.8, 0.5),
          patches.CirclePolygon((2, 2), 0.4),
          patches.Polygon(
              [[1.75, 3], [2, 3.25], [2.25, 3], [2, 2.75], [1.75, 3]]
          ),
          patches.Wedge((3, 1), 0.4, 0, 270),
          patches.Ellipse((3, 2), 0.6, 0.4),
          patches.Arc((3, 3), 0.5, 0.5, angle=270, theta1=90),
      ]
  
      for patch in p:
          patch.set_facecolor(rcolor_1)
          patch.set_edgecolor(rcolor_2)
          patch.set_alpha(0.5)
          patch.set_linewidth(2)
          ax.add_patch(patch)
  
      # add a static patch
      ax.add_patch(
          patches.Rectangle(
              (0.3, 0.4),
              0.4,
              0.4,
              fc="yellow",
              ec="black",
              alpha=0.3,
              transform=ax.transAxes,
          )
      )
  
      # add a patch with facecolor=None
      ax.add_patch(
          patches.Circle(
              (4.0, 2.5), 0.4, facecolor="none", edgecolor="k"
          )
      )
  
      # add a patch with edgecolor=None
      ax.add_patch(
          patches.Circle(
              (4.0, 1.5),
              0.4,
              facecolor="#9999FF",
              edgecolor="none",
              linewidth=2,
          )
      )
  
      # make sure axes ratio is equal
      ax.set_xlim(0.5, 0.5 + 3.0 * 4.0 / 3.0)
      ax.set_ylim(0.5, 3.5)
  
      ax.set_title("Various Patches", size=16)
      return fig
  
imports: import matplotlib.pyplot
  from matplotlib import patches
  import numpy
  import mpld3
label_desc: Use image node_id 1 for calling a global function with example usage: create_plot() and returns: fig