Update contour_example.py

bugfix