code: def svg_polygon(coordinates, color):
      
  
      coord_str = []
      for c in coordinates:
          coord_str.append(",".join(map(str, c)))
      coord_str = " ".join(coord_str)
      polygon = '<polygon points="%s" style="fill:%s;stroke:%s;stroke-width:0"/>\n' % (coord_str, color, color)
      return polygon
docs: Create an svg triangle for the stationary heatmap.
  
      Parameters
      ----------
      coordinates: list
          The coordinates defining the polygon
      color: string
          RGB color value e.g. #26ffd1
  
      Returns
      -------
      string, the svg string for the polygon