pyvista.Plotter.update_scalar_bar_range#

Plotter.update_scalar_bar_range(clim, name=None)[source]#

Update the value range of the active or named scalar bar.

Parameters:
climsequence[float]

The new range of scalar bar. For example [-1, 2].

namestr, optional

The title of the scalar bar to update.