📜  seaborn 热图 x 标签水平 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:16.350000             🧑  作者: Mango

代码示例3
plt.figure(figsize=(10,10))
g = sns.heatmap(
    by_sport, 
    square=True, # make cells square
    cbar_kws={'fraction' : 0.01}, # shrink colour bar
    cmap='OrRd', # use orange/red colour map
    linewidth=1 # space between cells
)