Example #1
0
	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)
Example #2
0
	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)
Example #3
0
	def editAttrs(self, event):
		cl=self.conditions[:]
		cl = dataEdit(self, cl)
		if cl!=None:
			self.conditions=cl
			self.doSelect()