def _updateImageFromData(self): self.image.updateImage(self.data.T, opacity=.7 if self.hillshade else 1.) self.hint['precision'], self.hint['vlength'] =\ calcPrecission(self.data) self.mouseMoved()
def _updateImageFromData(self): self.image.updateImage(self.data.T, opacity=0.7 if self.hillshade else 1.0) self.hint["precision"], self.hint["vlength"] = calcPrecission( self.data) self.mouseMoved()
def update(self, obj=None): self._data = None ts = time.time() self.image.updateImage(self.data.T) self.draw_time = time.time() - ts self.hint['precision'], self.hint['vlength'] =\ calcPrecission(self.data) self.mouseMoved()
def _updateImageFromData(self): self.image.updateImage(self.data.T) self.hint['precision'], self.hint['vlength'] =\ calcPrecission(self.data) self.mouseMoved()