Horizontal y label with Plots.jl

Is there any way to make the y axis label horizontal in Plots.jl (with pyplot backend)?

Thanks

Does yrotation work?

yrotation affects the tick marks, not the label.

Maybe This tweet solves our problem

See also

using Plots
using Plots.PlotMeasures: mm

plot(; size = (500, 300))
plot!(
   x -> x^3 - 8 * x^2,
   0,
   10,
   xlab = "abcde",
   xrotation = 45,
   left_margin = 10mm,
   bottom_margin=5mm,
)
annotate!(-1.2, 0., text("goma", 10))

You can use yguidefontrotation. For example,

using Plots
pyplot()
plot(plot(1:10, ylab="y"), plot(1:10, ylab="y", yguidefontrotation=-90))