matplotlib.axes.Axes.hlines
- Axes.hlines(y, xmin, xmax, colors=None, linestyles='solid', *, label='', data=None, **kwargs)
Plot horizontal lines at each from to .
Plot horizontal lines at each from to .
y-indexes where to plot the lines.
Respective beginning and end of each line. If scalars are provided, all lines will have the same length.
rcParams["lines.color"] (default: 'C0')If given, the following parameters also accept a string s, which is
interpreted as data[s] if s is a key in data:
y, xmin, xmax, colors
LineCollection properties.matplotlib.axes.Axes.hlines