这是我的代码:
corrmat = data.corr()
fig = plt.figure(figsize = (12, 9))
sns.heatmap(corrmat, vmax = .8, square = True)
plt.show()
显示错误:
TypeError Traceback (most recent call last)
<ipython-input-34-58010cc53b83> in <module>
1 # Correlation matrix
2 corrmat = data.corr()
----> 3 fig = plt.figure(figsize = (12, 9))
4
5 sns.heatmap(corrmat, vmax = .8, square = True)
TypeError: 'module' object is not callable