In the graph created by matplotlib.pyplot, how can I make axis labels appear in exponential notation? This seems to be done automatically for values <1e-6, but say 5e-6, I get "0.000005". I would prefer it to be shown as "5e-6" also for this range.
source share