mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 09:35:45 +01:00 
			
		
		
		
	fix: bug in Corr.show comp option fixed.
This commit is contained in:
		
					parent
					
						
							
								f9e41f2bfa
							
						
					
				
			
			
				commit
				
					
						cc50ab9ecf
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -825,7 +825,7 @@ class Corr:
 | 
			
		|||
                        hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1
 | 
			
		||||
                    else:
 | 
			
		||||
                        hide_from = None
 | 
			
		||||
                    plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
 | 
			
		||||
                    ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
 | 
			
		||||
            else:
 | 
			
		||||
                raise Exception("'comp' must be a correlator or a list of correlators.")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue