docstr: Draws polygons on pygame display.
docstr_tok: ["Draws","polygons","on","pygame","display","."]
code: def draw_polygons(surface, polygons):
      """
      Draws polygons on pygame display.
      """
      for polygon, color in polygons:
          if len(polygon) > 1:
              pygame.draw.polygon(surface, color, polygon)
  
imports: import glob
  import os
  import sys
  from enum import Enum
  import math
  import numpy
  import pygame
  import weakref
  import carla
  from carla import ad
label_desc: Use image node_id 13 for calling the RssUnstructuredSceneVisualizer obj's underlying member method code with example usage: obj.draw_polygons(surface, polygons) without return types