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' or show_edges set to True.

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()
../../../_images/pyvista-Property-render_lines_as_tubes-1_00_00.png

Visualize rendering lines as tubes.

>>> prop.render_lines_as_tubes = True
>>> prop.plot()
../../../_images/pyvista-Property-render_lines_as_tubes-1_01_00.png