mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 01:25:46 +01:00 
			
		
		
		
	fix: instances of plot.show changed to plot.draw in fit module
This commit is contained in:
		
					parent
					
						
							
								757d8ade06
							
						
					
				
			
			
				commit
				
					
						f223b12cc2
					
				
			
		
					 3 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,7 @@ def test_least_squares():
 | 
			
		|||
        y = a[0] * np.exp(-a[1] * x)
 | 
			
		||||
        return y
 | 
			
		||||
 | 
			
		||||
    out = pe.least_squares(x, oy, func)
 | 
			
		||||
    out = pe.least_squares(x, oy, func, expected_chisquare=True, resplot=True, qqplot=True)
 | 
			
		||||
    beta = out.fit_parameters
 | 
			
		||||
 | 
			
		||||
    for i in range(2):
 | 
			
		||||
| 
						 | 
				
			
			@ -133,7 +133,7 @@ def test_total_least_squares():
 | 
			
		|||
    odr.set_job(fit_type=0, deriv=1)
 | 
			
		||||
    output = odr.run()
 | 
			
		||||
 | 
			
		||||
    out = pe.total_least_squares(ox, oy, func)
 | 
			
		||||
    out = pe.total_least_squares(ox, oy, func, expected_chisquare=True)
 | 
			
		||||
    beta = out.fit_parameters
 | 
			
		||||
 | 
			
		||||
    for i in range(2):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue