plt.style.use()

CODEDRAGON Development/Python

반응형

 

 

 

plt.style.use()

미리정의된 스타일(테마) 적용합니다.

 

plt.style.use('스타일명')

 

 

 

사용가능한 스타일 확인

print(plt.style.available)

['bmh', 'classic', 'dark_background', 'fast', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn-bright', 'seaborn-colorblind', 'seaborn-dark-palette', 'seaborn-dark', 'seaborn-darkgrid', 'seaborn-deep', 'seaborn-muted', 'seaborn-notebook', 'seaborn-paper', 'seaborn-pastel', 'seaborn-poster', 'seaborn-talk', 'seaborn-ticks', 'seaborn-white', 'seaborn-whitegrid', 'seaborn', 'Solarize_Light2', 'tableau-colorblind10', '_classic_test']

 

 

  

Style sheets reference

https://matplotlib.org/gallery/style_sheets/style_sheets_reference.html

 

 

 

 

반응형

'Development > Python' 카테고리의 다른 글

OpenCV-Python Study documentation  (0) 2020.01.12
CSS 셀러터로 찾기  (0) 2020.01.11
NumPy 슬라이싱  (0) 2020.01.10
MySQL DB Module  (0) 2020.01.10
ImportError: cannot import name 'imread' 에러 해결방법  (0) 2020.01.10