Good question. Try the following:
from mpl_toolkits.axes_grid1 import make_axes_locatable ax1 = plt.subplot2grid((1,1), (0,0)) divider = make_axes_locatable(ax1) ax2 = divider.append_axes("bottom", size="100%", pad=0.5) ax3 = divider.append_axes("bottom", size="100%", pad=1)
Then you will get:

source share