MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / vlines

Function vlines

lib/matplotlib/pyplot.py:4515–4535  ·  view source on GitHub ↗
(
    x: float | ArrayLike,
    ymin: float | ArrayLike,
    ymax: 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

4513# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4514@_copy_docstring_and_deprecators(Axes.vlines)
4515def vlines(
4516 x: float | ArrayLike,
4517 ymin: float | ArrayLike,
4518 ymax: float | ArrayLike,
4519 colors: ColorType | Sequence[ColorType] | None = None,
4520 linestyles: LineStyleType = "solid",
4521 label: str = "",
4522 *,
4523 data: DataParamType = None,
4524 **kwargs,
4525) -> LineCollection:
4526 return gca().vlines(
4527 x,
4528 ymin,
4529 ymax,
4530 colors=colors,
4531 linestyles=linestyles,
4532 label=label,
4533 **({"data": data} if data is not None else {}),
4534 **kwargs,
4535 )
4536
4537
4538# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
vlinesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…