pyvista.Plotter.update_scalars# Plotter.update_scalars(scalars, mesh=None, render=True)[source]# Update scalars of an object in the plotter. Parameters: scalarssequenceScalars to replace existing scalars. meshvtk.PolyData | vtk.UnstructuredGrid, optionalObject that has already been added to the Plotter. If None, uses last added mesh. renderbool, default: TrueForce a render when True.