Closed jarekbryk closed 7 months ago
Use theme(axis.title.y.right = element_markdown())
🤦🏻♀️ Thank you!
No problem--it's super confusing. Based on the parameter names, I would expect axis.title.y
and axis.title.x
to apply to both sides, but they only apply to the left and bottom.
Hi,
I have observed a strange behaviour when working with plots with y axis on the right (
scale_y_continuous(position = "right")
). element_markdown formatting works fine on axis title when the axis is on the left of the plot, but markdown is not rendered when the axis is moved to the right. Is this a bug or am I missing something?Thanks, Jarek
Created on 2023-11-23 with reprex v2.0.2