I want to add label for row color in seaborn clustermap.
Taking the example from this question:
additional row colors in seaborn cluster map
In one answer there are labels with rotation=90:
vertical label
I want to change the rotation of the text to be horizontal.
I tried
g.ax_col_dendrogram.set_xlabel('species',rotation=0)
or
plt.setp(g.ax_col_dendrogram.get_xticklabels(), rotation=0)
but it does not make the change.
I tried to search in the manual but I can’t seem to pin down the key word for this label.
Moo Gee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.