Axes.parametric¶
-
Axes.parametric(*args, values=None, cmap=None, norm=None, interp=0, **kwargs)[source]¶ Invoked when you pass the
cmapkeyword argument toplot. Draws a “colormap line”, i.e. a line whose color changes as a function of the parametric coordinatevalues. using the input colormapcmap.This is actually a collection of lines, added as a
LineCollectioninstance. See this matplotlib example.- Parameters
*args ((y,) or (x,y)) – The coordinates. If
xis not provided, it is inferred fromy.cmap (colormap spec, optional) – The colormap specifier, passed to
Colormap.values (list of float) – The parametric values used to map points on the line to colors in the colormap.
norm (normalizer spec, optional) – The normalizer, passed to
Norm.interp (int, optional) – If greater than
0, we interpolate to additional points between thevaluescoordinates. The number corresponds to the number of additional color levels between the line joints and the halfway points between line joints.