chineseize-matplotlib
自动设置 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
##使用字体
使用IPA字体的IPAex黑体(Ver.003.01)。
利用进程[ipa字体授权v 1.0] (https://github.com/cndeng/chineseize-matplotlib/blob/master/chineseize_matplotlib/fonts/ipa_font_license_agreement_v1.0.txt)请同意。
Metadata
Release files for chineseize-matplotlib 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| chineseize-matplotlib-1.2.tar.gz | 9.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chineseize_matplotlib-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 MB
Release files / chineseize-matplotlib-1.2.tar.gz
| Download URL | chineseize-matplotlib-1.2.tar.gz |
|---|---|
| Size | 9.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af670e54f3f03d0fb70df173d3f594c94d196e59f1ea60603307c3d45c5c1131
|
|
BLAKE2b-256 checksum How to use checksums |
6811541ed13c47a45428478916955a4a7308704328a4aceca9c41f21901e78b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Release files / chineseize_matplotlib-1.2-py3-none-any.whl
| Download URL | chineseize_matplotlib-1.2-py3-none-any.whl |
|---|---|
| Size | 9.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55562a2544e4a1bed15673e7bcf925e1cff631a43f69d67ca6045014dfb02c05
|
|
BLAKE2b-256 checksum How to use checksums |
87f69c68aee3950450c1ff3c9ab995451b3c1fec7d43109d8bfa6ad064b161a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Security for chineseize-matplotlib 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.