Medical data visualizer - heat map

This is one of the more important things you can do when a test fails and you don’t know why. When I set this and rerun your tests, the errors are much better:

FAIL: test_heat_map_labels (test_module.HeatMapTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gray/src/work/fcc-da-medical-visualizer/test_module.py", line 89, in test_heat_map_labels
    self.assertEqual(
AssertionError: Lists differ: ['id'[74 chars]luc', 'smoke', 'alco', 'active', 'cardio', 'bmi', 'overweight'] != ['id'[74 chars]luc', 'smoke', 'alco', 'active', 'cardio', 'overweight']

First differing element 13:
'bmi'
'overweight'

First list contains 1 additional elements.
First extra element 14:
FAIL: test_heat_map_values (test_module.HeatMapTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gray/src/work/fcc-da-medical-visualizer/test_module.py", line 196, in test_heat_map_values
    self.assertEqual(
AssertionError: Lists differ: ['0.0[585 chars] '-0.3', '0.9', '0.0', '0.2', '0.2', '0.1', '-[125 chars]0.7'] != ['0.0[585 chars] '-0.1', '0.7', '0.0', '0.2', '0.1', '0.1', '-[22 chars]0.1']

First differing element 81:
'-0.3'
'-0.1'

First list contains 14 additional elements.

Additionally, if you compare your generated heatmap with the example, you see that you have generated an extra column and row, which correlates with the output of the tests. The first test is telling you which extra row/column you included:

First differing element 13:
'bmi'

which makes sense since bmi was used to generate overweight and is not in the example heatmap.