importするだけでGraphvizを日本語対応にするパッケージ
Project description
japanize-graphviz
importするだけでGraphvizを日本語対応にします。
インストール
pip install japanize-graphviz
使い方
import japanize_graphviz # これだけ
from graphviz import Digraph
dot = Digraph()
dot.node('A', 'データ取得')
dot.node('B', '前処理')
dot.edge('A', 'B', label='生データ')
dot
使用フォントの確認
import japanize_graphviz
print(japanize_graphviz.current_font())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
japanize_graphviz-0.1.0.tar.gz
(52.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file japanize_graphviz-0.1.0.tar.gz.
File metadata
- Download URL: japanize_graphviz-0.1.0.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df063464fef9f7a18da32dfc788764d1eff52b16a49f6bbcc5af44343bbf85a
|
|
| MD5 |
69a232d5c4914beda1300d7ac550f0d8
|
|
| BLAKE2b-256 |
e9782c466acf9ff7b296727899f74f7e37d6dab3317aaf848d81404d442423e7
|
File details
Details for the file japanize_graphviz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: japanize_graphviz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
445a0d48e0150b3789da8115c594b7b314f67993b6fb4b342d57c70f21ac6e9a
|
|
| MD5 |
4f37d2465c1647d6514e5c405174560b
|
|
| BLAKE2b-256 |
fd1aff8367ab6cdce6a96b33007721fbe639821aa3dbe7d5ee57d46e4cf56ade
|