How do you size the axes of a marginal plot to match the size of a non-square central plot using matplotlib?

In the image, you'll see that the top marginal plot is too wide, even though it shares the x-axis labels.

How do you size the axes of a marginal plot to match the size of a non-square central plot using matplotlib?

In the image, you'll see that the top marginal plot is too wide, even though it shares the x-axis labels.