update_coordinates

Plotter.update_coordinates(points, mesh=None, render=True)

Update the points of an object in the plotter.

Parameters
pointsnp.ndarray

Points to replace existing points.

meshvtk.PolyData or vtk.UnstructuredGrid, optional

Object that has already been added to the Plotter. If None, uses last added mesh.

renderbool, optional

Force a render when True. Default True.