Having several issues adjusting the colorbar in seaborn.clustermap. I'm trying to:
- orient the colorbar horizontally
- change the colorbar border color
- change the colorbar tick length
I've checked the documentation for figure.colorbar to no avail.
Minimal code:
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
#data
corr = np.corrcoef(np.random.randn(10, 200))
#clustermap
kws = dict(cbar_kws=dict(label='Label', ticks=[0,0.50,1], orientation='horizontal'), figsize=(6, 6))
sns.clustermap(corr, cmap="Blues", xticklabels=False, yticklabels=False, **kws)
plt.show()

