pyvista.Property.point_size#

property Property.point_size[source]#

Return or set the point size.

Defaults to pyvista.plotting.themes.Theme.point_size.

Examples

Change the point size to 10.0.

>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.point_size = 10
>>> prop.point_size
10.0

Visualize a point size of 5.0.

>>> prop.point_size = 5.0
>>> prop.style = 'points'
>>> prop.plot()
../../../_images/pyvista-Property-point_size-1_00_00.png

Visualize the a point size of 10.0.

>>> prop.point_size = 10.0
>>> prop.plot()
../../../_images/pyvista-Property-point_size-1_01_00.png