Mpl-Font
A CJK font selector for matplotlib to display CJK characters in an easy way.
Supported Fonts
- Noto Sans CJK SC
- WenQuanYi Micro Hei
- Microsoft YaHei
Install
pip install mpl-font
Usage
Just import the font you want to use, such as
import mpl_font.noto # For Noto Sans CJK SC
import mpl_font.wqy # For WenQuanYi Micro Hei
import mpl_font.msyh # For Microsoft YaHei
Then matplotlib should be able to display CJK characters.
If the font is already imported but overwritten by others, you need to explicitly call the set method of the font:
mpl_font.noto.set()
Metadata
Release files for mpl-font 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpl_font-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / mpl_font-1.1.0-py2.py3-none-any.whl
| Download URL | mpl_font-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 57.4 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b40852bfec10e3edbff00d06be3aae858a00d48843485153ee2e139581469013
|
|
BLAKE2b-256 checksum How to use checksums |
2cf2d0c33a535e4d6462d76ddeec751cc12ad1d6b8d3bd2a3b08448c8632e1d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.7
|
Security for mpl-font 1.1.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.