Hello! Same error with the heatmap:
Replit: Updating package configuration
--> python3 -m poetry lock --no-update
TOMLError
Invalid TOML file /home/runner/boilerplate-medical-data-visualizer/pyproject.toml: Invalid key "poetry update matplotlib" at line 12 col 24
at venv/lib/python3.8/site-packages/poetry/co
python main.py
[Text(0.5, 1.0, ''), Text(0.0, 1.0, ''), Text(1.0, 1.0, '')]
..[Text(0.5, 1.0, ''), Text(0.0, 1.0, ''), Text(1.0, 1.0, '')]
/home/runner/boilerplate-medical-data-visualizer/venv/lib/python3.8/site-packages/seaborn/matrix.py:268: PendingDeprecationWarning:
The label function will be deprecated in a future version. Use Tick.label1 instead.
fontsize = tick.label.get_size()
.[Text(0.5, 1.0, ''), Text(0.0, 1.0, ''), Text(1.0, 1.0, '')]
['0.0', '0.0', '-0.0', '0.0', '-0.1', '0.5', '0.0', '0.1', '0.1', '0.3', '0.0', '0.0', '0.0', '0.0', '0.0', '0.0', '0.2', '0.1', '0.0', '0.2', '0.1', '0.0', '0.1', '-0.0', '-0.1', '0.1', '0.0', '0.2', '0.0', '0.1', '-0.0', '-0.0', '0.1', '0.0', '0.1', '0.4', '-0.0', '-0.0', '0.3', '0.2', '0.1', '-0.0', '0.0', '0.0', '-0.0', '-0.0', '-0.0', '0.2', '0.1', '0.1', '0.0', '0.0', '0.0', '0.0', '0.3', '0.0', '-0.0', '0.0', '-0.0', '-0.0', '-0.0', '0.0', '0.0', '-0.0', '0.0', '0.0', '0.0', '0.2', '0.0', '-0.0', '0.2', '0.1', '0.3', '0.2', '0.1', '-0.0', '-0.0', '-0.0', '-0.0', '0.1', '-0.1', '-0.1', '0.7', '0.0', '0.2', '0.1', '0.1', '-0.0', '0.0', '-0.0', '0.1', '', '', '']
F
======================================================================
FAIL: test_heat_map_values (test_module.HeatMapTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/boilerplate-medical-data-visualizer/test_module.py", line 48, in test_heat_map_values
self.assertEqual(actual, expected, "Expected different values in heat map.")
AssertionError: Lists differ: ['0.0[607 chars] '0.2', '0.1', '0.1', '-0.0', '0.0', '-0.0', '0.1', '', '', ''] != ['0.0[607 chars] '0.2', '0.1', '0.1', '-0.0', '0.0', '-0.0', '0.1']
First list contains 3 additional elements.
First extra element 91:
''
['0.0',
'0.0',
'-0.0',
'0.0',
'-0.1',
'0.5',
'0.0',
'0.1',
'0.1',
'0.3',
'0.0',
'0.0',
'0.0',
'0.0',
'0.0',
'0.0',
'0.2',
'0.1',
'0.0',
'0.2',
'0.1',
'0.0',
'0.1',
'-0.0',
'-0.1',
'0.1',
'0.0',
'0.2',
'0.0',
'0.1',
'-0.0',
'-0.0',
'0.1',
'0.0',
'0.1',
'0.4',
'-0.0',
'-0.0',
'0.3',
'0.2',
'0.1',
'-0.0',
'0.0',
'0.0',
'-0.0',
'-0.0',
'-0.0',
'0.2',
'0.1',
'0.1',
'0.0',
'0.0',
'0.0',
'0.0',
'0.3',
'0.0',
'-0.0',
'0.0',
'-0.0',
'-0.0',
'-0.0',
'0.0',
'0.0',
'-0.0',
'0.0',
'0.0',
'0.0',
'0.2',
'0.0',
'-0.0',
'0.2',
'0.1',
'0.3',
'0.2',
'0.1',
'-0.0',
'-0.0',
'-0.0',
'-0.0',
'0.1',
'-0.1',
'-0.1',
'0.7',
'0.0',
'0.2',
'0.1',
'0.1',
'-0.0',
'0.0',
'-0.0',
- '0.1',
? ^
+ '0.1']
? ^
- '',
- '',
- ''] : Expected different values in heat map.
----------------------------------------------------------------------
Ran 4 tests in 27.058s
FAILED (failures=1)
I have also added poetry update matplotlib
in the toml file and didn’t work. Here’s my code.
I can see my list contains 3 ‘blank’ additional elements but I don’t know why, I have the same variables…