How to change font size in Plots.jl


#1

So, I’m trying to change the font size using Plots.jl for outputed graphs, but whatever option I use, nothing changes. I’m trying

using Plots
plot(flux, yscale=:log10, xlabel="wavelegth", 
    ylabel="flux",
    xtickfont=font(18), 
    ytickfont=font(18), 
    guidefont=font(18), 
    legendfont=font(18))

But, nothing happens to the font size. What’s the correct usage?

edit: This seems to be only a problem in jupyter notebook. So, I should ask, how do I change the fontsize using Plots.jl in jupyter notebook?