Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to leave some space on the page between graphs and drop down menus?

I dont see a padding parameter. How do I create a little spacing between elements in the same Div and elements outside of the Div?

You can use css with the style parameter. See https://plot.ly/dash/getting-started for more details. In this case, it would look something like html.Div(..., style={'padding': 10}).

5 Likes