Plotter.increment_point_size_and_line_width#
- Plotter.increment_point_size_and_line_width(increment: float) None[source]#
Increment point size and line width of all actors.
For every actor in the scene, increment both its point size and line width by the given value.
- Parameters:
- increment
float Amount to increment point size and line width.
- increment
Examples#
Download Python source code | Download Jupyter notebook
Increase the point size and line width for every actor.
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> point_actor = pl.add_points(pv.PointSet([(0.0, 0.0, 0.0)]), point_size=10)
>>> line_actor = pl.add_mesh(pv.Line(), line_width=2)
>>> pl.increment_point_size_and_line_width(3)
>>> point_actor.prop.point_size
13.0
>>> line_actor.prop.line_width
5.0