I am using Julia 1.9.2, Plots v1.38.17, PyPlot v2.11.1.
When I plot, the font of the tick labels doesn’t change.
Not working “fontfamily” and “tickfontfamily”.
Is this a bug in the new version of Julia, or is there a different command I should use?
using Plots
pyplot()
x = 1:10;
y = rand(10);
plot(x, y,
xlabel = "x",
ylabel = "y",
fontfamilys = "Times New Roman",
tickfontfamily = "Times New Roman")
I don’t know about those specific commands to change the fonts (I’m not sure if they exist), but you may want to take a look at these tips to make the plot more consistent: