Skip to main content

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()

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)

Table of built distributions (wheels) for mpl-font 1.1.0
File Interpreter ABI Platform
mpl_font-1.1.0-py2.py3-none-any.whl Python 2, Python 3 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

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.1

1 release file

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page