Skip to content

Commit 8385e05

Browse files
committed
DOC : add caveat to mpl_toolkits ImageGrid
The `axes_class` kwarg must be a sub-class of the Axes subclass which has the axis artist replaced as done in `mpl_toolkits.axes_grid1.mpl_axes.Axes`.
1 parent 3ab5edb commit 8385e05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/mpl_toolkits/axes_grid1/axes_grid.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def _extend_axes_pad(value):
2626
ret = (value, value)
2727
return ret
2828

29+
2930
def _tick_only(ax, bottom_on, left_on):
3031
bottom_off = not bottom_on
3132
left_off = not left_on
@@ -516,7 +517,8 @@ def __init__(self, fig,
516517
cbar_size "5%"
517518
cbar_set_cax True [ True | False ]
518519
axes_class None a type object which must be a subclass
519-
of :class:`~matplotlib.axes.Axes`
520+
of axes_grid's subclass of
521+
:class:`~matplotlib.axes.Axes`
520522
================ ======== =========================================
521523
522524
*cbar_set_cax* : if True, each axes in the grid has a cax

0 commit comments

Comments
 (0)