Medical Data Visualizer - Catplot&Heat Map

My test module states i have errors for my catplot although it generates a graph almost identical FCC.

Error Message

My Graph

FCC Graph

Also my heat map is not generating the values and i get an error of an additional 91 values

Heat Map

Any help would be greatly appreciated!

Code Location Here

The test is checking if the same values appear in the same order - if your chart has a different order of categories, it will fail the test.

And you heatmap… well there is no heatmap because you implemented the data-cleaning with the wrong comparisons, creating an empty dataframe and that’s just a heatmap of exactly that.

1 Like