BirchKwok / chineseize-matplotlib-plus

自动设置matplotlib中文字体

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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中文字体

License:MIT License


Languages

Language:Python 84.0%Language:Shell 16.0%