Skip to content

cndeng/chineseize-matplotlib

Repository files navigation

chineseize-matplotlib

description

自动设置 matplotlib 中文字体

利用方法

import matplotlib.pyplot as plt
import chineseize_matplotlib

plt.plot([1, 2, 3, 4])
plt.xlabel('简单图表')
plt.show()

安装

# pipenv
pipenv install chineseize-matplotlib

# pip
pip install chineseize-matplotlib

About

自动设置matplotlib中文字体

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published