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

Function barh

lib/matplotlib/pyplot.py:3157–3175  ·  view source on GitHub ↗
(
    y: float | ArrayLike,
    width: float | ArrayLike,
    height: float | ArrayLike = 0.8,
    left: float | ArrayLike | None = None,
    *,
    align: Literal["center", "edge"] = "center",
    data: DataParamType = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

3155# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3156@_copy_docstring_and_deprecators(Axes.barh)
3157def barh(
3158 y: float | ArrayLike,
3159 width: float | ArrayLike,
3160 height: float | ArrayLike = 0.8,
3161 left: float | ArrayLike | None = None,
3162 *,
3163 align: Literal["center", "edge"] = "center",
3164 data: DataParamType = None,
3165 **kwargs,
3166) -> BarContainer:
3167 return gca().barh(
3168 y,
3169 width,
3170 height=height,
3171 left=left,
3172 align=align,
3173 **({"data": data} if data is not None else {}),
3174 **kwargs,
3175 )
3176
3177
3178# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
barhMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…