参数vmax
、vmin
cmap
设置颜色等级,参考:https://blog.csdn.net/pary__for/article/details/104971632
sns.heatmap(globals()['c%s'%(year-2010)], cmap='jet', vmax=5000) # cmap='jet'
这里只设置了vmax
根据需要还可以设置vmin
标签:颜色,固定,jet,python,cmap,vmin,设置,vmax
来源: https://blog.csdn.net/Caiqiudan/article/details/112797274