Python-庫-自定義繪圖輸出漢字

 將此文件保存爲「Chinese.py」,保存到lib目錄,使用時import進來就能夠了,使用方法參見Python-股票-圖表顯示主要財務指標。python #-*-coding:utf-8-*- #文件名: Chinese.py def set_ch(fnt,fntSize): from pylab import mpl if fnt=='HT': mpl.rc
相關文章
相關標籤/搜索