code: def _update_plotting_params(self, **kwargs):
          
          scalars = kwargs.get('scalars', None)
          if scalars is not None:
              old = self.display_params['scalars']
              self.display_params['scalars'] = scalars
              if old != scalars:
                  self.plotter.subplot(*self.loc)
                  self.plotter.remove_actor(self._data_to_update, reset_camera=False)
                  self._need_to_update = True
                  self.valid_range = self.input_dataset.get_data_range(scalars)
                  # self.display_params['rng'] = self.valid_range
          cmap = kwargs.get('cmap', None)
          if cmap is not None:
              self.display_params['cmap'] = cmap
docs: Some plotting parameters can be changed through the tool; this
          updataes those plotting parameters.