code: def interpolation_change_cb(self, setting, value):
          
          canvas_img = self.get_canvas_image()
          canvas_img.interpolation = value
          canvas_img.reset_optimize()
          self.redraw(whence=0)
docs: Handle callback related to changes in interpolation.