Skip to main content

matplotlib의 폰트 설정을 자동으로 한국어화

Project description

koreanize-matplotlib

matplotlib를 한국어 표시에 대응시킵니다.

사용법

matplotlib를 import한 후 koreanize_matplotlib를 import합니다.

import matplotlib.pyplot as plt
import koreanize_matplotlib

plt.plot([-1, 0, 1, 2])
plt.title('그래프 제목', fontweight="bold")
plt.xlabel('간단한 그래프')
plt.show()

demo

설치

pip install koreanize-matplotlib

또는

python setup.py install

사용한 폰트

나눔고딕

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koreanize-matplotlib-0.1.1.tar.gz (7.9 MB view hashes)

Uploaded Source

Built Distribution

koreanize_matplotlib-0.1.1-py3-none-any.whl (7.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page