Mapbox fill out the whole graph component


I have attached a picture, and as you can see I have drawed a square to mark where the Graph component is. Is it possible to size the map so it fill up the complete graph component?

I found an example from Dash Gallery,

Where you see that the is filling out the whole graph component, it even fills out the bar where you can select zoom, reset view, etc…

How is this done?