more note for matplotlib and python

1, 稍大的数据,y轴用科学计数法表示标签

plt.ticklabel_format(axis=’y’, style=’sci’, scilimits=(0,0))

2,合并列表里的元素

b=[[1,2,5],[3,4,10],[2,10,8]]
c=[item for lit in b for item in lit]