matplotlib.lines

The 2D line class which can draw with a variety of line styles, markers and colors.

Classes

Line2D(xdata, ydata[, linewidth, linestyle, ...]) A line - the line can have both a solid linestyle connecting all the vertices, and a marker at each vertex.
VertexSelector(line) Manage the callbacks to maintain a list of selected vertices for Line2D.

Functions

segment_hits(cx, cy, x, y, radius) Return the indices of the segments in the polyline with coordinates (cx, cy) that are within a distance radius of the point (x, y).

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/lines_api.html