def editPointLab(self, event): d = dataEdit(self, self.object.point_labels) if d!=None: self.object.point_labels=d s='%i %iD Points (%i labeled)' % (d.shape[0],d.shape[1], len(self.object.point_labels.keys())) self.pointlabel.SetLabel(s) self.base.update_all(object=self.object)
def editData(self, event): d = dataEdit(self, self.object.data) if d!=None: self.object.data=d self.datalabel.SetLabel('%ix%i Data Array' % d.shape) self.base.update_all(object=self.object)
def editAttrs(self, event): cl=self.conditions[:] cl = dataEdit(self, cl) if cl!=None: self.conditions=cl self.doSelect()