In order to set default fonts, one needs to do something like:
xtickfont --> font(11)
ytickfont --> font(11)
legendfont --> font(11)
guidefont --> font(11)
However, font is in Plots and not RecipesBase, so changing the default font requires a Plots dependency.
I've had this thought from other perspectives. Really the "correct" solution is to have a bunch of attributes: guidefontsize, guidefontfamily, etc... and then guidefont would be a way to set all of those at once, similar to marker or line. The downside is that it's a lot of new attributes to maintain/access, and the upside is that this issue wouldn't exist. :)
I think that's the right way to go since font doesn't really fit in with the way the other attributes work.
A few additional coments:
~/.juliarc.jl file:PLOTS_DEFAULTS = Dict(:fontadjust => 1.5)
plt = plot(...)
display(plt) #Want smaller font to maximize real-estate
plot!(size=(1000,800), fontadjust=2.2) #Make more readable on print.
png("morereadbleplot.png")
This is a recurring issue and a very nice feature to have. Thank you for reporting it @ChrisRackauckas.
All that's needed is for someone to implement this change in practice:
This is great to see! Thanks!
Most helpful comment
I think that's the right way to go since
fontdoesn't really fit in with the way the other attributes work.