-
matplotlib 한글 폰트 적용Python 2020. 9. 11. 19:54
from matplotlib import font_manager, rc font_name = font_manager.FontProperties(fname="c:/Windows/Fonts/malgun.ttf").get_name() rc('font', family=font_name) plt.plot([1,2,3]) plt.legend(['가나다']) plt.show()
'Python' 카테고리의 다른 글
multi processing, threading, multi threading (0) 2020.09.11 Regular Expression (0) 2020.09.11 jupyter notebook에 가상환경 kernel 추가하기 (0) 2020.09.11