added a str representation for the pdf class
This commit is contained in:
		
							parent
							
								
									f3467221cc
								
							
						
					
					
						commit
						a5fe838514
					
				| @ -153,6 +153,9 @@ class ProbabilityDensityFunction(object): | ||||
|     def __nonzero__(self): | ||||
|         return bool(np.round(self.prob_gt_val(self.axis[0]), 4) == 1.) | ||||
| 
 | ||||
|     def __str__(self): | ||||
|         return str(self.data) | ||||
| 
 | ||||
|     @property | ||||
|     def data(self): | ||||
|         return self._pdf | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user