mpl.lines¶
This module contains all the 2D line class which can draw with a variety of line styles, markers and colors.
Functions¶
allow_rasterization(draw) |
Decorator for Artist.draw method. |
is_numlike(obj) |
return true if obj looks like a number |
is_string_like(obj) |
Return True if obj looks like a string |
iterable(obj) |
return true if obj is iterable |
pts_to_midstep(x, *args) |
Covert continuous line to pre-steps |
pts_to_poststep(x, *args) |
Covert continuous line to pre-steps |
pts_to_prestep(x, *args) |
Covert continuous line to pre-steps |
segment_hits(cx, cy, x, y, radius) |
Determine if any line segments are within radius of a point. |
Classes¶
Artist() |
Abstract base class for someone who renders into a FigureCanvas. |
Bbox(points, **kwargs) |
A mutable bounding box. |
IdentityTransform(*args, **kwargs) |
A special class that does on thing, the identity transform, in a fast way. |
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. |
MarkerStyle([marker, fillstyle]) |
|
Path(vertices[, codes, ...]) |
Path represents a series of possibly disconnected, |
TransformedPath(path, transform) |
A TransformedPath caches a non-affine transformed copy of the Path. |
VertexSelector(line) |
Manage the callbacks to maintain a list of selected vertices for matplotlib.lines.Line2D. |