import numpy as np; np.random.seed(0) import seaborn as sns; sns.set() uniform_data = np.random.rand(6, 6)/100 ax = sns.heatmap(uniform_data,annot=True, fmt=".2%")