subplot with specified heights

Holger Brandsmeier <holger.brandsmeier@...83...> writes:

Dear list,

I would like to have two subplots in a figure one below each other (so
arranged in a 2x1 matrix). I want the upper subplot to have a very
small height compared to the lower one, say 10 times smaller than the
other one.

How can I do that with matplotlib? I didn't find that with subplot()
command. I also found the add_subplot() function with many parameters,
but I didn't see which of those parameter would help me.

Thanks for any advice,

Have a look at