#绘制驱虫市场增量趋势图d
year=list(data_sum.index)
x=range(len(year))
y=data_sum[\'驱虫市场总\']
with plt.style.context(\'ggplot\'):
pl=plt.figure(figsize=(8,6))
plt.xticks(x,year,fontsize=9,rotation=45)
plt.xlabel(\'year\')
plt.ylabel(\'交易额\')
plt.title(\'驱虫市场近三年的交易趋势图\')
plt.plot(x,y)
plt.show()