class mpl_toolkits.mplot3d.art3d.Line3D(xs, ys, zs, *args, **kwargs)
[source]
Bases: matplotlib.lines.Line2D
3D line object.
Keyword arguments are passed onto Line2D()
.
draw(self, renderer)
[source]
Draw the Artist using the given renderer.
This method will be overridden in the Artist subclasses. Typically, it is implemented to not have any effect if the Artist is not visible (Artist.get_visible
is False).
Parameters: |
|
---|
get_data_3d(self)
[source]
Get the current data
Returns: |
|
---|
set_3d_properties(self, zs=0, zdir='z')
[source]
set_data_3d(self, *args)
[source]
Set the x, y and z data
Parameters: |
|
---|
Accepts x, y, z arguments or a single array_like (x, y, z)
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/mpl_toolkits.mplot3d.art3d.Line3D.html