code: def plot_a(ax, base, left_edge, height, color):
      a_polygon_coords = [
          np.array(
              [
                  [0.0, 0.0],
                  [0.5, 1.0],
                  [0.5, 0.8],
                  [0.2, 0.0],
              ]
          ),
          np.array(
              [
                  [1.0, 0.0],
                  [0.5, 1.0],
                  [0.5, 0.8],
                  [0.8, 0.0],
              ]
          ),
          np.array(
              [
                  [0.225, 0.45],
                  [0.775, 0.45],
                  [0.85, 0.3],
                  [0.15, 0.3],
              ]
          ),
      ]
      for polygon_coords in a_polygon_coords:
          ax.add_patch(
              matplotlib.patches.Polygon(
                  (
                      np.array([1, height])[None, :] * polygon_coords
                      + np.array([left_edge, base])[None, :]
                  ),
                  facecolor=color,
                  edgecolor=color,
              )
          )
  
file_path: deeplift/deeplift/visualization/viz_sequence.py
imports: import matplotlib
  import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: plot_a(ax, base, left_edge, height, color) without return types