Version 3.0.0
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.