Function
hlines
(
y: float | ArrayLike,
xmin: float | ArrayLike,
xmax: float | ArrayLike,
colors: ColorType | Sequence[ColorType] | None = None,
linestyles: LineStyleType = "solid",
label: str = "",
*,
data: DataParamType = None,
**kwargs,
)
Source from the content-addressed store, hash-verified
| 3736 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
| 3737 | @_copy_docstring_and_deprecators(Axes.hlines) |
| 3738 | def hlines( |
| 3739 | y: float | ArrayLike, |
| 3740 | xmin: float | ArrayLike, |
| 3741 | xmax: float | ArrayLike, |
| 3742 | colors: ColorType | Sequence[ColorType] | None = None, |
| 3743 | linestyles: LineStyleType = "solid", |
| 3744 | label: str = "", |
| 3745 | *, |
| 3746 | data: DataParamType = None, |
| 3747 | **kwargs, |
| 3748 | ) -> LineCollection: |
| 3749 | return gca().hlines( |
| 3750 | y, |
| 3751 | xmin, |
| 3752 | xmax, |
| 3753 | colors=colors, |
| 3754 | linestyles=linestyles, |
| 3755 | label=label, |
| 3756 | **({"data": data} if data is not None else {}), |
| 3757 | **kwargs, |
| 3758 | ) |
| 3759 | |
| 3760 | |
| 3761 | # Autogenerated by boilerplate.py. Do not edit as changes will be lost. |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…