Increase distance between text and title on the y-axis does not work in plotly

You are passing both theme(...) and theme_bw() to ggplot().
I believe the theme_bw() overrides your custom settings. Can you try running it without theme_bw()?
Rgds,
Peter

2 Likes