How to add a rotated annotation using Plots.jl?

Sometimes it is convenient to squeeze in a rotated (eg. vertically placed) text in a thin figure. The annotate!() method in Plots.jl seems to only produce horizontal text in the plot, is there any trick to rotate the text?

solved: see

This work for my environment:

annotate!(5,10, Plots.text("text", 10, :dark, rotation = 90 ))```

Julia 1.4.2, Plots v1.4.3
1 Like

your example does not work with plotly backend.
Is this not supported in plotly backend?
Note thath this example Works in GR backend.