One idea would be to set the yticks to nothing, like this:
nothing
using Plots gr() y=[1,1000000] testplot = plot(y,yshowaxis=false,yticks=nothing, size=(1000,800)) savefig(testplot, "noticks.png")
Which produces the following: