Draw contour lines of Z at the given levels and write each line's height directly onto it, so the chart is readable without a colorbar.
Z
levels
Return the Axes. ax.clabel takes the contour set that ax.contour returns.
ax.clabel
ax.contour
This one's part of Premium. Unlock the full Matplotlib track plus every other premium problem on the site.
solve(...)