ETC/Tip - 2023.04.23 [Seaborn] Figure 하나에 Graph 여러 개 그릴 때 Legend 표시하기 - plot 할 때 원하는 label을 지정 Legend에 표시하고 싶은 내용을 label 인자에 입력해주면 된다. d10_ft = check3[(check3['choice'] == 1)&(check3['decile'] == 10)]['TOTL_SQ_FT_CNT'] d1_ft = check3[(check3['choice'] == 1)&(check3['decile'] == 1)]['TOTL_SQ_FT_CNT'] f, ax = plt.subplots(1, 1) sns.distplot(d10_ft, label = 'decile 10',ax=ax) sns.distplot(d1_ft, label = 'decile 1',ax=ax) ax.legend() 참고 How to add legend to seaborn multi-dist plot without putting the data together I have a two series of data that i'm displaying on one seaborn histogram using the following code: import pandas import seaborn d10_ft = check3[(check3['choice'] == 1)&(check3['decile'] == 10... stackoverflow.com 공유하기 게시글 관리 구독하기싶만생각 Contents 당신이 좋아할만한 콘텐츠 [Git] 한글 깨짐 해결하기 2023.03.09 [Git] 히스토리에서 파일 이름 변경 정보 확인하기 2023.02.23 [Git] 예전에 commit한 파일 Github에서 확인하기 2023.02.22 [BS4] select()와 find()의 차이점 2023.02.21 댓글 0 + 이전 댓글 더보기