To ensure the labels are visible, you have to set the parameters xticklabels
, yticklabels
to True
, like so.
import seaborn as sns
sns.heatmap(dataframe, xticklabels=True, yticklabels=True)
Here’s the documentation for the heatmap
function.