Skip to content

koorukuroo/networkx_for_unicode

Repository files navigation

networkx_for_unicode

This is for unicode label of networkx(http://networkx.github.io/)

Modified files

networkx-1.9.1/networkx/drawing/nx_pylab.py

Install

pip install --upgrade git+https://github.com/koorukuroo/networkx_for_unicode

Usage

import matplotlib.font_manager as fm
# fp1 = fm.FontProperties(fname="./NanumGothic.otf")
fp1 = fm.FontProperties(fname="./NotoSansKR-Regular.otf") # Free Font https://www.google.com/get/noto/pkgs/NotoSansKorean-windows.zip
nx.set_fontproperties(fp1)
G = nx.Graph()
G.add_edge(u'한국어',u'영어')
nx.draw(G, with_labels=True)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages