pyvista.Plotter.update_coordinates#
- Plotter.update_coordinates(points, mesh=None, render=True) None [source]#
Update the points 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 points of a mesh in-place.
# Modify the points in place mesh.points = points # Explicitly call render if needed plotter.render()
- Parameters:
- points
np.ndarray
Points to replace existing points.
- mesh
vtk.PolyData
|vtk.UnstructuredGrid
,optional
Object that has already been added to the Plotter. If
None
, uses last added mesh.- renderbool, default:
True
Force a render when True.
- points