matplotlib.axes.Axes.clabel#
- Axes.clabel(CS,levels=None,**kwargs)[source]#
Label a contour plot.
Adds labels to line contours in given
ContourSet.- Parameters:
- CS
ContourSetinstance Line contours to label.
- levelsarray-like, optional
A list of level values, that should be labeled. The list must bea subset of
CS.levels. If not given, all levels are labeled.- **kwargs
All other parameters are documented in
clabel.
- CS
Examples usingmatplotlib.axes.Axes.clabel#
On this page