seaborn 다운로드 후 import
%pip install seaborn
import seaborn as sns
sns.lineplot(x=[1,2,3,4], y=[4,3,2,1])
sns.barplot(x=[1,2,3,4], y=[0.7,0.2,0.1,0.05])
import matplotlib.pyplot as plt
sns.barplot(x=[1,2,3,4], y=[0.7,0.2,0.1,0.05])
plt.title("Bar Plot")
plt.show()
sns.barplot(x=[1,2,3,4], y=[0.7,0.2,0.1,0.05])
plt.xlabel("x")
plt.ylabel("y")
plt.show()
sns.lineplot(x=[1, 3, 2, 4], y=[4, 3, 2, 1])
plt.ylim(2,3)
plt.show()
plt.figure(figsize=(20,10))
sns.lineplot(x=[1, 3, 2, 4], y=[4, 3, 2, 1])
plt.show()