
내 기준, 다 가진 사람💜 잘생겼는데 생각도 잘생김-

https://seaborn.pydata.org/examples/index.html
import seaborn as sns
# 데이터 생성
x = np.linspace(0, 15, 100)
y1 = np.sin(x) # 그래프가 겹치지 않게 y1-y4 임의값 사용
y2 = 2 + np.sin(x * 0.5)
y3 = 3 + np.sin(x * 1.2)
y4 = 4 + np.sin(x * 1.5)
# fig: 도화지, ax: 내용
fig, ax = plt.subplots(figsize=(5, 5))
ax.plot(x, y1)
ax.plot(x, y2)
ax.plot(x, y3)
ax.plot(x, y4)
ax.grid()
ax.set(title="seaborn", xlabel="istp", ylabel="intp")
plt.show()
output: 
fig, ax = plt.subplots(nrow=1, ncols=4)
ax[0].plot(x, y1)
ax[1].bar(x, y2)
ax[2].scatter(x, y3)
ax[3].hist(x, y4)
plt.show()
output: 
fig, ax = plt.subplots(2, 2)
# matrix[행, 열]
ax[0,0].plot(x, y1)
ax[0,1].plot(x, y2)
ax[1,0].plot(x, y3)
ax[1,1].plot(x, y4)
plt.show()
output: 
by Heidi J. 꼬꼬마 데분가 💜