You are reading an old version of the documentation (v3.0.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.lines.segment_hits.html
Version 3.0.3
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.