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


class mpl_toolkits.axes_grid1.inset_locator.AnchoredSizeLocator(bbox_to_anchor, x_size, y_size, loc, borderpad=0.5, bbox_transform=None)[source]

Bases: mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase

get_extent(self, renderer)[source]

return the extent of the artist. The extent of the child added with the pad is returned