Heatmap plots strange lines in id row

Tell us what’s happening:
Describe your issue in detail here.

I have no idea why those strange lines are plotted in the id-row of the heatmap. Any suggestions?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Medical Data Visualizer

Link to the challenge:

You’ll have to post some code. Preferably the entire project on repl.it or a similar platform.

Oh sorry. Here is the link to replit:

This is the problem:


You don’t need to plot the mask. You just give it to sns.heatmap() so it knows which half of the data you consider duplicated so that it can be ignored.

1 Like

Fantastic, thank you very much!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.