2.1.7.4.Matrix Plots
0. Matrix Plots的繪圖種類
sns.heatmap
sns.clustermap
1. 使用library
import seaborn as sns將圖表直接嵌入到Notebook之中
%matplotlib inline讀入資料
tips = sns.load_dataset('tips')
tips.head()

2.heatmap (熱力圖)
視覺化矩陣形式中各行列的數值關係
自相關矩陣的視覺化

視覺化歷史各年度中的各月份的航班密度


改變熱力圖的色調及線條

3.clustermap (階層式熱力圖)

正規化

Last updated
Was this helpful?