Update contour2.py