pyvista.Plotter.update_scalars#
- Plotter.update_scalars(scalars, mesh=None, render=True) None [source]#
Update scalars of an object in the plotter.
Deprecated since version 0.43.0: This method is deprecated and will be removed in a future version of PyVista. It is functionally equivalent to directly modifying the scalars of a mesh in-place.
# Modify the points in place mesh["my scalars"] = values # Explicitly call render if needed plotter.render()