pyvista.Property.style#
- property Property.style: str[source]#
Return or set the visualization style of the mesh.
One of the following (case insensitive):
'surface'
'wireframe'
'points'
Examples
Get the default style and visualize it.
>>> import pyvista as pv >>> prop = pv.Property() >>> prop.style 'Surface'
>>> prop.plot()
Visualize the wireframe style.
>>> prop.style = 'wireframe' >>> prop.plot()
Visualize the points style.
>>> prop.style = 'points' >>> prop.point_size = 5.0 >>> prop.plot()