반응형 matplotlib1 Matplotlib에서 한글 폰트 지정하는 방법 1. NanumGothic 체from matplotlib import pyplot as plt plt.rc('font', family='NanumGothic')housing["income_cat"].value_counts().sort_index().plot.bar(rot=0,grid=True) plt.title("소득 카테고리 별 구역 개수")plt.xlabel("소득 카테고리")plt.ylabel("구역 개수")plt.show() 2. Malgun Gothic 체from matplotlib import pyplot as plt plt.rc('font', family='Malgun Gothic')housing["income_cat"].value_counts().sort_index().plot.bar(ro.. 2025. 8. 15. 이전 1 다음 반응형