mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 09:35:45 +01:00 
			
		
		
		
	further instances of np.float removed
This commit is contained in:
		
					parent
					
						
							
								ef35dd8684
							
						
					
				
			
			
				commit
				
					
						cddf6ddf6b
					
				
			
		
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -71,7 +71,7 @@ def ks_test(obs=None):
 | 
			
		|||
    plt.ylabel('Cumulative probability')
 | 
			
		||||
    plt.title(str(bins) + ' Q values')
 | 
			
		||||
 | 
			
		||||
    n = np.arange(1, bins + 1) / np.float(bins)
 | 
			
		||||
    n = np.arange(1, bins + 1) / np.float64(bins)
 | 
			
		||||
    Xs = np.sort(Qs)
 | 
			
		||||
    plt.step(Xs, n)
 | 
			
		||||
    diffs = n - Xs
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue