Is there any way to set a spacing between axis labels and axis ticks labels other than changing margins?
Example plot:
plot_ly(mtcars, x = ~ wt, y = ~ pa
The way I dealt with this in Python was to simply add a line break and then whitespace and you can essentially have a blank line that creates the separation. Hacky, but it works. You can see it in the second line.
yaxis=go.layout.YAxis(
title_text="Number of Articles
",
titlefont=dict(size=12)),
paper_bgcolor="white",
title=go.layout.Title(
xref="paper",
x=0.5
)
Before:
After: