'Drawing zone over plt.imshow

I'm plotting some .tiff images using GDAL and matplotlib. Currently images look like the one in the example and I would like to mark a zone over the image.I have an array of the same np.shape of the image with a (0,1) indicating whether the point is inside (1) or outside (0) the zone that I want to contour.

Draft of the zone delimitation:

Result of plotting the array with (0,1):



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source