#matplotlib
-
matplotlib 표 한글 적용하기!= 파이썬 2018. 8. 16. 19:22
matplotlib 표에 한글 적용하기 1. from matplotlib import font_manager, rc 2. fn_name = font_manager.FontProperties(fname='c:/Windows/Fonts/malgun.ttf').get_name() 3. rc('font',family=fn_name) 예제 import numpy as npimport matplotlib.pyplot as pltfrom matplotlib import font_manager, rcfn_name = font_manager.FontProperties(fname='c:/Windows/Fonts/malgun.ttf').get_name()rc('font',family=fn_name) k_name = ['수박..