The axes_grid1 toolkit
axes_grid1 provides the following features:
Helper classes (ImageGrid, RGBAxes, AxesDivider) to ease the layout of axes displaying images with a fixed aspect ratio while satisfying additional constraints (matching the heights of a colorbar and an image, or fixing the padding between images);
ParasiteAxes (twinx/twiny-like features so that you can plot different data (e.g., different y-scale) in a same Axes);
AnchoredArtists (custom artists which are placed at an anchored position, similarly to legends).