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

Function axline

lib/matplotlib/pyplot.py:3102–3109  ·  view source on GitHub ↗
(
    xy1: tuple[float, float],
    xy2: tuple[float, float] | None = None,
    *,
    slope: float | None = None,
    **kwargs,
)

Source from the content-addressed store, hash-verified

3100# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3101@_copy_docstring_and_deprecators(Axes.axline)
3102def axline(
3103 xy1: tuple[float, float],
3104 xy2: tuple[float, float] | None = None,
3105 *,
3106 slope: float | None = None,
3107 **kwargs,
3108) -> AxLine:
3109 return gca().axline(xy1, xy2=xy2, slope=slope, **kwargs)
3110
3111
3112# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
axlineMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…