Matplotlib polygon selector. ) print ("Press the 'esc' key to start a new polygon.