[Python] Seaborn - style and color


[Python] Seaborn - style and color

Signature: sns.set_style(style=None, rc=None) style : dict, None, or one of {darkgrid, whitegrid, dark, white, ticks} 스타일을 지정하고 플랏을 그린다. darkgrid는 회색 배경에 그리드(격자)가 표시 whitegrid는 흰색 배경에 그리드 dark는 회색 배경에 그리드 없음 white는 흰색 배경에 그리드 없음 ticks는 다 없음 despine(left = T/F, bottom= T/F) 은 스파인(가로축, 세로축 테두리)를 없앨 수 있게 해준다. figure size 정할때는 matplotlib을 써도 된다. plt.fiture(figsize=(x축크기, y축크기)) Context를 설정해서 폰트 사이즈를 바꿀 수 있다. paper, notebook, talk, poster 네 가지 옵션이 있고, 추가로 font_scale= 해서 더 바꿔줄 수 있음. Signature: sns.set...


#color #colormap #context #despine #palette #python #seaborn #style

원문링크 : [Python] Seaborn - style and color