Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- 네트워크
- 자료구조
- CS
- 시큐리티
- Flutter
- CS지식
- postgresql
- 프로그래머스
- baekjoon
- spring
- python
- 플러터
- 스프링 부트 쇼핑몰 프로젝트 with JPA
- 리눅스
- 데이터베이스
- DB
- Java
- Oracle
- 데이터
- 스프링
- 자바스크립트
- 파이썬
- javascript
- 자바
- Spring Security
- backjoon
- springboot
- 스프링부트
- JPA
- 백준
Archives
- Today
- Total
Jin's Dev Story
[Python] 시각화할 때 한글 깨지는 경우 본문
# % 한글이 깨지는 경우
from matplotlib import font_manager, rc
import matplotlib
import platform
if platform .system() == 'Windows':
# 원도우인 경우
font_name =font_manager.FontProperties(fname ='c:/Windows/Fonts/malgun.ttf').get_name()
rc('font', family = font_name)
else:
# MAC인 경우
rc('font', family= 'AppleGothic')
matplotlib.rcParams['axes.unicode_minus'] = False
'Programming Language > Python' 카테고리의 다른 글
[Python] iloc와 loc (0) | 2024.06.13 |
---|---|
[Python] Pandase(판다스) (0) | 2024.06.13 |
[Python] Numpy(넘파이) (0) | 2024.06.13 |
[Python] 정규 표현식(RegExp) (0) | 2024.06.13 |
[Python] Math.gcd - 최대공약수 (0) | 2024.06.12 |