How to change the padding of a graph


Here the margins around the graphs are super thin. Whenever I make a graph the padding is massive. How can I change this?

Edit: I am ussing the suggested style sheet (albeit very slightly modified) if that matters, but I don’t see how it would.

How to set padding between graph data and graph limits?
#2 the style sheet, for some reason I am not allowed to post more than 2 links.


It’s done in the plotly layout:


figure = {
‘data’: data,

Just to be clear I was talking about the graph layout and not the app.Layout()


Thank you! Looks much better now :smile: