On this page
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
ContourSet
instance -
Line contours to label.
- levelsarray-like, optional
-
A list of level values, that should be labeled. The list must be a subset of
CS.levels
. If not given, all levels are labeled. - **kwargs
-
All other parameters are documented in
clabel
.
- CS
Examples using matplotlib.axes.Axes.clabel
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.axes.Axes.clabel.html