def METHOD_NAME(axes, obstacles, bounds):
    for k, v in obstacles.items():
        for o in v:
            if k == "polygon":
                plotPolygon(axes, o, "0.4", edgecolor="0.4")
            else:
                raise RuntimeError("Unknown geometry type: ", k)
    plt.axis([bounds[0][0], bounds[0][1], bounds[1][0], bounds[1][1]])