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

Function ylabel

lib/matplotlib/pyplot.py:4600–4610  ·  view source on GitHub ↗
(
    ylabel: str,
    fontdict: dict[str, Any] | None = None,
    labelpad: float | None = None,
    *,
    loc: Literal["bottom", "center", "top"] | None = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

4598# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4599@_copy_docstring_and_deprecators(Axes.set_ylabel)
4600def ylabel(
4601 ylabel: str,
4602 fontdict: dict[str, Any] | None = None,
4603 labelpad: float | None = None,
4604 *,
4605 loc: Literal["bottom", "center", "top"] | None = None,
4606 **kwargs,
4607) -> Text:
4608 return gca().set_ylabel(
4609 ylabel, fontdict=fontdict, labelpad=labelpad, loc=loc, **kwargs
4610 )
4611
4612
4613# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
set_ylabelMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…