logo
Loading...

1. 想並排顯示 但出錯了 求解 2. 這些圖可以OUTPUT 成 JPG / PRINT IN EXCEL FILE ?? 如可以, 如何做? - Cupoy

np.random.seed(0)x = np.random.randint(500, size=1...

1. 想並排顯示 但出錯了 求解 2. 這些圖可以OUTPUT 成 JPG / PRINT IN EXCEL FILE ?? 如可以, 如何做?

2021/02/18 上午 11:24
使用 Seaborn 進行資料視覺化 (4/27更新)
Nat
觀看數:18
回答數:1
收藏數:0

np.random.seed(0) x = np.random.randint(500, size=1024) plt.subplot(2,1, 1) #此行加入subplot sns.distplot(x, bins=20, rug=True, kde=True, ax=ax[0] ) ### plt.subplot(2, 1, 2) sns.distplot(x, bins=100, kde=False, ax = ax[1]) ### plt.show() ![D20_Capture.PNG](http://kwassistfile.cupoy.com/00000177B327A5B7000002076375706F795F72656C656173655155455354/1611820870190/large)

回答列表