data_x = ['残差波动率','杠杆','成长','非线性市值','盈利','账面市值比','市值','流动性']
data_y = [0.34,0.31,0.10,0.06,0.01,-0.19,-0.70,-0.74]
options = {
'chart': {
'type': 'column'
},
'title': {
'text': '因子收益率'
},
'xAxis': {
'categories': data_x
},
'yAxis': {
'title': {
'text': ''
}
},
'legend': {
'enabled': 'false'
},
'series': [{
'name': '收益率(%)',
'data': data_y
}]
}
df = pd.DataFrame()
T.plot(df,options=options)