📜  热图相关 seaborn - Python 代码示例

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

代码示例2
import matplotlib.pyplot as plt
import seaborn as sns

figure = plt.figure(figsize=(12, 6))
sns.heatmap(data.corr(), annot=True,cmap=plt.cm.cool)
plt.tight_layout()
plt.xlabel('Corr')
plt.show()