Issue with Plots.scalefontsizes()

A MWE of my issue:

function testPlot(α::Real=1.0)

	Plots.scalefontsizes(α)
	p1=plot(rand(10),title="mytitle")
	Plots.scalefontsizes()

	return p1

end

The title is scaled appropriately, but the ticks are not changed. My actual function computes \alpha based on the number of subfigures in the layout (if that is important). According to this answer julia - How to scale the fontsizes using Plots.jl - Stack Overflow, p1 should be scaled according to \alpha and subsequent plots set back to default, but this does not seem to be the case. Any help would be appreciated.

If you move Plots.scalefontsizes() to the first line of the function (to reset the scaling), it seems to work.

function testPlot(α::Real=1.0)
    Plots.scalefontsizes()
	Plots.scalefontsizes(α)
	p1=plot(rand(10),title="mytitle")
	return p1
end

using Plots; gr()
testPlot(2.0)
testPlot(0.5)
testPlot()

The new default fontsize is still scaled by alpha after the call so that if I do

testPlot(0.5)
plot(rand(10),title="mytitle")

the second plot still has the \alpha fontsize and has not been reset back to default. I guess if I use this command, I need to restore to default after the function call.

That seems to be the principle of the whole shebang.