Collapsable Sidebar. Layout with embedded dcc.Graph not returning to original size when sidebar expands

You should be able to add more to the code above, I am missing the part about how the container is designed.

My guess is that somehow the navbar is always taking up the space, or the right side where you graph is always the same size.