x=list(correlation_matrix.columns), y=list(correlation_matrix.index), colorscale='Blues') fig.show() Pandas + Matplotlib更好的可视化 这个结果也可以直接使用用sns.pairplot(data),两种方法产生的图差不多,但是seaborn只需要一句话 sns.pairplot(df[['mpg','weight','horsepower','acceleration']]) 所以...