How to change the size of Graph/Mapbox so it fills out the whole window


I would like to size the map to the same size of the graph component itself.

If you look at the attached picture, I would like the map to have a size so the bar for zooming, etc. is on the same window as the map
As in this example in dash gallery

Where the map covers the whole window.

You can add a margin object to the layout. If you specify 0 for each of the four parameters your map will fill whole component. I use it like this with a little margin left and right:

                      margin={"r": 5, "t": 0, "l": 5, "b": 0})