In this recipe, we will learn how to use the AxesDivider class of axes_grdi1 to draw a bivariate plot on the main axes, and two univariate plots, on any two sides of the main axes. This helps in visualizing the relationship between two variables, and the distribution of the same two variables individually all in one figure (though three different axes/plots).
Technically, variables plotted on the main axes and univariate plots on the two sides of the main axes can be different. And you can choose any two sides out of the four sides of the main axes for univariate plots. However, the usual practice is to plot on the top and the right side of the main axes.
In this recipe, we will plot a scatter graph on the main axes with two variables, and at the top and right-hand side of the main axes, we will plot a histogram...