pyvista.Property.render_lines_as_tubes#
- property Property.render_lines_as_tubes: bool[source]#
Return or set rendering lines as tubes.
Defaults to
pyvista.plotting.themes.Theme.render_lines_as_tubes
.Requires lines in the scene, e.g. with
style
set to'wireframe'
orshow_edges
set toTrue
.Examples
Get the default line rendering and visualize it.
>>> import pyvista as pv >>> prop = pv.Property() >>> prop.render_lines_as_tubes False >>> prop.show_edges = True >>> prop.line_width = 10 >>> prop.edge_color = 'yellow' >>> prop.plot()
Visualize rendering lines as tubes.
>>> prop.render_lines_as_tubes = True >>> prop.plot()