I was myself facing the need of a function that could compute the contours of an image and give me the polygones without the need to make an actual figure and extract the curves from the contour ...
Originally posted here because I wasn't convinced it was a bug (I'm new to matplotlib)... but I'm increasingly convinced it is a bug, so here we are. I'm plotting some NCEP temperature anomaly data ...