You are reading an old version of the documentation (v3.0.0). For the latest version see
Version 3.0.0
Fork me on GitHub

Source code for mpl_toolkits.axisartist.axes_grid

import mpl_toolkits.axes_grid1.axes_grid as axes_grid_orig
from .axislines import Axes

[docs]class CbarAxes(axes_grid_orig.CbarAxesBase, Axes): def __init__(self, *args, orientation, **kwargs): self.orientation = orientation self._default_label_on = False self.locator = None super().__init__(*args, **kwargs)
[docs] def cla(self): super().cla() self._config_axes()
[docs]class Grid(axes_grid_orig.Grid): _defaultAxesClass = Axes
[docs]class ImageGrid(axes_grid_orig.ImageGrid): _defaultAxesClass = Axes _defaultCbarAxesClass = CbarAxes
AxesGrid = ImageGrid