You are reading an old version of the documentation (v2.2.0). For the latest version see https://matplotlib.org/stable/
Version 2.2.0
matplotlib
Fork me on GitHub

This Page

Matplotlib axes_grid1 ToolkitΒΆ

The matplotlib mpl_toolkits.axes_grid1 toolkit is a collection of helper classes to ease displaying multiple images in matplotlib. While the aspect parameter in matplotlib adjust the position of the single axes, axesgrid1 toolkit provides a framework to adjust the position of multiple axes according to their aspects.

See What is axes_grid1 toolkit? for a guide on the usage of axes_grid1.

../../_images/demo_axes_grid.png

Note

AxesGrid toolkit has been a part of matplotlib since v 0.99. Originally, the toolkit had a single namespace of axes_grid. In more recent version, the toolkit has divided into two separate namespace (axes_grid1 and axisartist). While axes_grid namespace is maintained for the backward compatibility, use of axes_grid1 and axisartist is recommended.