sns.set_style(스타일) #스타일: darkgrid, whitegrid, dark, white
sns.set_palette(팔레트) #팔레트: 기본 세트는 아래 링크 참조
#example
sns.set_style('white')
sns.set_palette('flare')
sns.barplot(data=df, x='species', y='body_mass_g')
plt.show()
Choosing color palettes — seaborn 0.13.2 documentation
Choosing color palettes Seaborn makes it easy to use colors that are well-suited to the characteristics of your data and your visualization goals. This chapter discusses both the general principles that should guide your choices and the tools in seaborn th
seaborn.pydata.org
'Python_Wiki > Python_Library' 카테고리의 다른 글
| matplotlib / seaborn 고화질 설정 (0) | 2025.07.14 |
|---|---|
| matplotlib / seaborn 한글 적용하기 (0) | 2025.07.14 |
| pandas: stack, unstack, melt (데이터 구조 변경) (1) | 2025.07.14 |
| pandas: 피벗테이블 만들기 .pivot_table /+) pivot (0) | 2025.07.14 |
| pandas: crosstab / 범주형 데이터 비교 분석 (0) | 2025.07.14 |