{"id":25411742,"url":"https://github.com/koho/mpl-font","last_synced_at":"2025-10-31T05:30:32.317Z","repository":{"id":57443479,"uuid":"243346877","full_name":"koho/mpl-font","owner":"koho","description":"CJK font selector for matplotlib","archived":false,"fork":false,"pushed_at":"2022-04-21T16:21:41.000Z","size":56075,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T02:16:51.996Z","etag":null,"topics":["font","matplotlib"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-26T19:23:26.000Z","updated_at":"2023-12-14T07:21:47.000Z","dependencies_parsed_at":"2022-09-05T09:31:29.294Z","dependency_job_id":null,"html_url":"https://github.com/koho/mpl-font","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fmpl-font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fmpl-font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fmpl-font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Fmpl-font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koho","download_url":"https://codeload.github.com/koho/mpl-font/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239114336,"owners_count":19583999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["font","matplotlib"],"created_at":"2025-02-16T10:19:24.302Z","updated_at":"2025-10-31T05:30:22.305Z","avatar_url":"https://github.com/koho.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mpl-Font\n\nA CJK font selector for matplotlib to display CJK characters in an easy way.\n\n## Supported Fonts\n- Noto Sans CJK SC\n- WenQuanYi Micro Hei\n- Microsoft YaHei\n\n## Install\n```shell script\npip install mpl-font\n```\n\n## Usage\nJust import the font you want to use, such as\n```python\nimport mpl_font.noto # For Noto Sans CJK SC\nimport mpl_font.wqy # For WenQuanYi Micro Hei\nimport mpl_font.msyh # For Microsoft YaHei\n```\nThen matplotlib should be able to display CJK characters.\n\nIf the font is already imported but overwritten by others, you need to explicitly call the `set` method of the font:\n\n```python\nmpl_font.noto.set()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Fmpl-font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoho%2Fmpl-font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Fmpl-font/lists"}