You are reading an old version of the documentation (v2.2.5). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.lines.segment_hits.html
Version 2.2.5
matplotlib
Fork me on GitHub

matplotlib.lines.segment_hits

matplotlib.lines.segment_hits(cx, cy, x, y, radius)[source]

Determine if any line segments are within radius of a point. Returns the list of line segments that are within that radius.