Property.point_shape#
- property Property.point_shape: str[source]#
Return or set the shape of flat point primitives.
Shapes are
'square','circle','triangle','hexagon','diamond','asterisk', and'star'. The shape applies to vertex cells in surface and wireframe representations as well as points representation. Sphere rendering takes precedence while enabled.Added in version 0.49.
Note
Setting this property requires a graphics backend with native point-shape support.
pyvista.Actor.set_point_sprite_shape()also supports older backends in points representation.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.point_shape
'square'