code: def modify(self, vals):
          
          self.vals = vals.view(np.ndarray).copy()
          y = self.model.predict(self.vals)[0]
          self.data_visualize.modify(y)
          self.latent_handle.set_data(self.vals[0,self.latent_index[0]], self.vals[0,self.latent_index[1]])
          self.axes.figure.canvas.draw()
docs: When latent values are modified update the latent representation and ulso update the output visualization.