Add spacing under title in PlotlyJS

I have the following plot:

I don’t want the lines to extend all the way to the title - it looks pretty bad. The lines are created from `vline()´, and I have not figured out how I can ajust their height - that would also fix the issue.

Anyone have any good idea on how to deal with this?

Does this work?

plot(data, title = "title", top_margin = 40px)

Plots does not seem content with my units.

I think you need Plots.mm

1 Like