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

Function stairs

lib/matplotlib/pyplot.py:3684–3702  ·  view source on GitHub ↗
(
    values: ArrayLike,
    edges: ArrayLike | None = None,
    *,
    orientation: Literal["vertical", "horizontal"] = "vertical",
    baseline: float | ArrayLike | None = 0,
    fill: bool = False,
    data: DataParamType = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

3682# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3683@_copy_docstring_and_deprecators(Axes.stairs)
3684def stairs(
3685 values: ArrayLike,
3686 edges: ArrayLike | None = None,
3687 *,
3688 orientation: Literal["vertical", "horizontal"] = "vertical",
3689 baseline: float | ArrayLike | None = 0,
3690 fill: bool = False,
3691 data: DataParamType = None,
3692 **kwargs,
3693) -> StepPatch:
3694 return gca().stairs(
3695 values,
3696 edges=edges,
3697 orientation=orientation,
3698 baseline=baseline,
3699 fill=fill,
3700 **({"data": data} if data is not None else {}),
3701 **kwargs,
3702 )
3703
3704
3705# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
stairsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…