Hiding columns in subplot [python]

For subplots, is it possible to create a subplot layout and then kinda hide parts of it? either rows or columns?

I’m doing bode plots and sometimes I wanna show system response in time domain with it and sometimes not. Question is just whether I need to hardcode both different cases or if there is some way of just hiding columns in subplots.


EDIT: Same thing basically would be functionality of appending columns or rows to subplots. Kind of building bigger subplot grids from smaller individual ones.

EDIT2: One way to to this is to just not add anything to certain slots of the plot. However, this leaves whitespace, which is a bit unfortunate.

And a full plot would look like this: