fix(a11y): changed non-inclusive language (#16)
This commit is contained in:
		
							parent
							
								
									ac7e8fadfb
								
							
						
					
					
						commit
						3498b856d8
					
				@ -13,7 +13,7 @@ File name: medical_examination.csv
 | 
			
		||||
| Age | Objective Feature | age | int (days) |
 | 
			
		||||
| Height | Objective Feature | height | int (cm) |
 | 
			
		||||
| Weight | Objective Feature | weight | float (kg) |
 | 
			
		||||
| Gender | Objective Feature | gender | categorical code |
 | 
			
		||||
| Sex | Objective Feature | sex | categorical code |
 | 
			
		||||
| Systolic blood pressure | Examination Feature | ap_hi | int |
 | 
			
		||||
| Diastolic blood pressure | Examination Feature | ap_lo | int |
 | 
			
		||||
| Cholesterol | Examination Feature | cholesterol | 1: normal, 2: above normal, 3: well above normal |
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
id,age,gender,height,weight,ap_hi,ap_lo,cholesterol,gluc,smoke,alco,active,cardio
 | 
			
		||||
id,age,sex,height,weight,ap_hi,ap_lo,cholesterol,gluc,smoke,alco,active,cardio
 | 
			
		||||
0,18393,2,168,62.0,110,80,1,1,0,0,1,0
 | 
			
		||||
1,20228,1,156,85.0,140,90,3,1,0,0,1,1
 | 
			
		||||
2,18857,1,165,64.0,130,70,3,1,0,0,0,1
 | 
			
		||||
 | 
			
		||||
| 
		
		
			 Can't render this file because it is too large. 
		
	 | 
@ -37,7 +37,7 @@ class HeatMapTestCase(unittest.TestCase):
 | 
			
		||||
        actual = []
 | 
			
		||||
        for label in self.ax.get_xticklabels():
 | 
			
		||||
          actual.append(label.get_text())
 | 
			
		||||
        expected = ['id', 'age', 'gender', 'height', 'weight', 'ap_hi', 'ap_lo', 'cholesterol', 'gluc', 'smoke', 'alco', 'active', 'cardio', 'overweight']
 | 
			
		||||
        expected = ['id', 'age', 'sex', 'height', 'weight', 'ap_hi', 'ap_lo', 'cholesterol', 'gluc', 'smoke', 'alco', 'active', 'cardio', 'overweight']
 | 
			
		||||
        self.assertEqual(actual, expected, "Expected bar plot legend labels to be months of the year.")
 | 
			
		||||
    
 | 
			
		||||
    def test_heat_map_values(self):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user