import matplotlib.pyplot as plt
import seaborn as sns
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
sns.barplot(data=df, x값, y값)
plt.figure(figsize=(6,6)) -> 그래프 사이즈 맞추는 거!
plt.title('그래프 제목')
plt.xlabel('x축 이름')
plt.ylabel('y축 이름')
plt.xticks(rotation = 0) -> 0이면 정자체, 45는 기울임 형태!
plt.show()
col_df = df.select_dtypes(include = 'int').corr()
sns.heatmap(cor_df.corr(),
annot=True <- 수치값 나타낼지 말지
)
facet = sns.facetGrid(df, col='', row = '', height = ) -> Grid 전체 구성
facet.map_dataframe(sns.barplot, x = '', y='') -> 사용할 데이터
facet = facet.figsuplot(wspace= , vspace= ) -> subplot 간격조절

sns.histplot(x=df['col'])
sns.jointplot(data= , x='col' , y='col' , kind='그래프 종류')

안녕하세요. 좋은 글 잘 읽고 있습니다.
scattered 점들을 가지고 추세선을 어떻게 긋는건가요?