# -*- coding: UTF-8 -*-
import matplotlib.pyplot as plt
import matplotlib.font_manager as mfm
# plt.rcParams['font.sans-serif'] = ['chinese'] #用来正常显示中文标签
# plt.rcParams['axes.unicode_minus']=False #用来正常显示负号
# font_path = "C:\Windows\Fonts\STXIHEI.TTF"
# prop = mfm.FontProperties(fname=font_path)
# plt.plot((1,2,3),(4,3,-1))
# plt.xlabel(u'横坐标',fontproperties=prop)
# plt.ylabel(u'纵坐标',fontproperties=prop)
# plt.show()

# print (u'你好啊')
# plt.legend(prop=prop)

# import matplotlib
# print(matplotlib.matplotlib_fname())

from rqalpha.api import *

index_components('000001.XSHG')




