mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable#

mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable(ax, use_axes=None, pad=0.1, adjust_dirs=None)[source]#

Add auto-adjustable padding around ax to take its decorations (title, labels, ticks, ticklabels) into account during layout, using Divider.add_auto_adjustable_area.

By default, padding is determined from the decorations of ax. Pass use_axes to consider the decorations of other Axes instead.

Examples using mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable#

Make room for ylabel using axes_grid

Make room for ylabel using axes_grid