from matplotlib.font_manager import FontProperties
font = FontProperties(fname='/Library/Fonts/Songti.ttc')

import matplotlib.pyplot as plt
fig = plt.figure()
fig.set(alpha=0.2)  # 设定图表颜色alpha参数
data.sex.counts().plot(kind='bar')# 柱状图 
plt.title(u"xx" ,FontProperties=font)# 标题
plt.ylabel(u"xx",FontProperties=font)  
plt.xlabel(u"xxx",FontProperties=font)
plt.xticks(FontProperties=font)
plt.show()