At the moment if I set matplotlib y axis ticklabels to scientific mode it gives me an exponent at the top of the y axis of the form 1e-5
1e-5
I\'d like to ad
Add two lines in your code
import matplotlib.ticker as ptick ax.yaxis.set_major_formatter(ptick.ScalarFormatter(useMathText=True))