Study/Python

[Python]한글 깨짐

SigmoidFunction 2023. 8. 17. 10:28
728x90
import matplotlib.font_manager as fm

font_list = fm.findSystemFonts(fontpaths = None, fontext = 'ttf')
font_list[:]

 

 

from matplotlib import font_manager, rc

font_path = 위에나온경로
font = font_manager.FontProperties(fname=font_path).get_name()
rc('font', family=font)
728x90