python中seaborn包常用圖形使用

seaborn包是對matplotlib的增強版,需要安裝matplotlib後才能使用。 所有圖形都用plt.show()來顯示出來,也可以使用下面的創建畫布 fig,ax=plt.subplots()   #一個畫布 fig,(ax1,ax2) = plt.subplots( ncols=2)   #兩個畫布 1)單個特徵統計圖countplot sn.countplot(train.mnth
相關文章
相關標籤/搜索