pyvista.Property.render_points_as_spheres#
- property Property.render_points_as_spheres: bool[source]#
- Return or set rendering points as spheres. - Defaults to - pyvista.plotting.themes.Theme.render_points_as_spheres.- Requires representation style be set to - 'points'.- Examples - Get the default point rendering and visualize it. - >>> import pyvista as pv >>> prop = pv.Property() >>> prop.render_points_as_spheres False >>> prop.style = 'points' >>> prop.point_size = 20 >>> prop.plot()   - Visualize rendering points as spheres. - >>> prop.render_points_as_spheres = True >>> prop.plot() 