MCPcopy
hub / github.com/matplotlib/matplotlib / title

Function title

lib/matplotlib/pyplot.py:4571–4580  ·  view source on GitHub ↗
(
    label: str,
    fontdict: dict[str, Any] | None = None,
    loc: Literal["left", "center", "right"] | None = None,
    pad: float | None = None,
    *,
    y: float | None = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

4569# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
4570@_copy_docstring_and_deprecators(Axes.set_title)
4571def title(
4572 label: str,
4573 fontdict: dict[str, Any] | None = None,
4574 loc: Literal["left", "center", "right"] | None = None,
4575 pad: float | None = None,
4576 *,
4577 y: float | None = None,
4578 **kwargs,
4579) -> Text:
4580 return gca().set_title(label, fontdict=fontdict, loc=loc, pad=pad, y=y, **kwargs)
4581
4582
4583# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
set_titleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…