I have a canvas with two subplot.. I want to be able to hide on of the subplots by pushing a button and letting the remaining subplot fill the entire canvas.

If I use the set_visible(True) parameter I correctly remove one of the subplots.. but the remaining subplot does not fill the canvas.. Anyone have an idea of how to do this?