mpl_toolkits.mplot3d.art3d.Line3DCollection   classmpl_toolkits.mplot3d.art3d.Line3DCollection(segments, *args, zorder=2, **kwargs)[source]
 
Bases: matplotlib.collections.LineCollection A collection of 3D lines.  Parameters 
 
segmentslist of array-like


A sequence of (line0, line1, line2), where: linen = (x0, y0), (x1, y1), ... (xm, ym)
 or the equivalent numpy array with two columns. Each line can have a different number of segments.  
linewidthsfloat or list of float, default: rcParams["lines.linewidth"] (default: 1.5)


The width of each line in points.  
colorscolor or list of color, default: rcParams["lines.color"] (default: 'C0')


A sequence of RGBA tuples (e.g., arbitrary color strings, etc, not allowed).  
antialiasedsbool or list of bool, default: rcParams["lines.antialiased"] (default: True)


Whether to use antialiasing for each line.  
zorderint, default: 2


zorder of the lines once drawn.  
facecolorscolor or list of color, default: 'none'


When setting facecolors, each line is interpreted as a boundary for an area, implicitly closing the path from the last point to the first point. The enclosed area is filled with facecolor. In order to manually specify what should count as the "interior" of each line, please use PathCollection instead, where the "interior" can be specified by appropriate usage of CLOSEPOLY.  **kwargs

Forwarded to Collection.       do_3d_projection(renderer=<deprecated parameter>)[source]
 
Project the points according to renderer matrix. 
   draw(renderer, project=<deprecated parameter>)[source]
 
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False).  Parameters 
 
rendererRendererBase subclass.

   Notes This method is overridden in the Artist subclasses. 
   set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, array=<UNSET>, capstyle=<UNSET>, clim=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, cmap=<UNSET>, color=<UNSET>, colors=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, linewidth=<UNSET>, norm=<UNSET>, offset_transform=<UNSET>, offsets=<UNSET>, path_effects=<UNSET>, paths=<UNSET>, picker=<UNSET>, pickradius=<UNSET>, rasterized=<UNSET>, segments=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, sort_zpos=<UNSET>, transform=<UNSET>, url=<UNSET>, urls=<UNSET>, verts=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[source]
 
Set multiple properties at once. Supported properties are   
Property Description   
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array  
alpha array-like or scalar or None  
animated bool  
antialiased or aa or antialiaseds bool or list of bools  
array array-like or None  
capstyle CapStyle or {'butt', 'projecting', 'round'}  
clim (vmin: float, vmax: float)  
clip_box Bbox  
clip_on bool  
clip_path Patch or (Path, Transform) or None  
cmap Colormap or str or None  
color color or list of colors  
colors color or list of colors  
edgecolor or ec or edgecolors color or list of colors or 'face'  
facecolor or facecolors or fc color or list of colors  
figure Figure  
gid str  
hatch {'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}  
in_layout bool  
joinstyle JoinStyle or {'miter', 'round', 'bevel'}  
label object  
linestyle or dashes or linestyles or ls str or tuple or list thereof  
linewidth or linewidths or lw float or list of floats  
norm Normalize or None  
offset_transform Transform  
offsets (N, 2) or (2,) array-like  
path_effects AbstractPathEffect  
paths unknown  
picker None or bool or float or callable  
pickradius float  
rasterized bool  
segments unknown  
sketch_params (scale: float, length: float, randomness: float)  
snap bool or None  
sort_zpos unknown  
transform Transform  
url str  
urls list of str or None  
verts unknown  
visible bool  
zorder float   
   set_segments(segments)[source]
 
Set 3D segments. 
   set_sort_zpos(val)[source]
 
Set the position to use for z-sorting. 
 
  Examples using mpl_toolkits.mplot3d.art3d.Line3DCollection
 
   3D stem