Sampling the Banana-shaped distribution

Sure, there is a contour plot function in matplotlib.