Commit 6058425d authored by narugo1992's avatar narugo1992
Browse files

dev(narugo): try create plot

parent c894c6a6
Loading
Loading
Loading
Loading
+9.58 MiB

File added.

No diff preview for this file type.

+8 −0
Original line number Diff line number Diff line
import os.path

import matplotlib.font_manager as fm


def get_cn_fp() -> fm.FontProperties:
    ttf_file = os.path.join(os.path.dirname(__file__), 'SimHei.ttf')
    return fm.FontProperties(fname=ttf_file)
+9.58 MiB

File added.

No diff preview for this file type.

+9.58 MiB

File added.

No diff preview for this file type.

+87.4 KiB
Loading image diff...
Loading