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.


Get the default line rendering and visualize it.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.render_lines_as_tubes
>>> 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()