Seaborn Colorbar Labelsize

[Solved] Seaborn Colorbar Labelsize | Php - Code Explorer | yomemimo.com
Question : seaborn colorbar labelsize

Answered by : kiril-klein

import matplotlib.pyplot as plt
import numpy as np; np.random.seed(0)
import seaborn as sns
data = np.random.rand(10, 12)*100
ax = sns.heatmap(data, cbar_kws={'label': 'Accuracy %'})
ax.figure.axes[-1].yaxis.label.set_size(20)
plt.show()

Source : https://stackoverflow.com/questions/48586738/seaborn-heatmap-colorbar-label-font-size | Last Update : Wed, 18 May 22

Answers related to seaborn colorbar labelsize

Code Explorer Popular Question For Php