Adjust the decimals in scientific notation with Plots.jl

Indeed, this simple approach doesn’t seem to work when asking for zero digits for numbers < 1.

Another alternative using Printf.jl:

using Printf
plot(x, x*1e-6, yformatter=x->join(split(@sprintf("%.0e", x), 'e'), "×10^{") * "}")