'''For example 0.000006 tick will be shown as 6e-6 or 6x10^(-6) depending
on the style parameter, this conversion is set by ticklabel_format as
below:'''
n = -6 # n is an exponet of base 10. Change
axe.ticklabel_format(axis='y', style='sci', scilimits=(n,n))