시각화 라이브러리 (Seaborn)
123456789101112131415import seaborn as snsimport matplotlib.pyplot as plt # 꺾은선 그래프plt.figure(figsize=(20, 10))sns.lineplot(x=[1, 3, 2, 4], y=[4, 3, 2, 1])plt.ylim(0, 10)plt.show() # 막대 그래프sns.barplot(x=['A', 'B', 'C', 'D'], y = [1, 2, 4, 3]) plt.title("Bar Plot")plt.xlabel("X Label")plt.ylabel("Y Label")plt.show()Colored by Color Scriptercs