'Return the adjusted position of the axes'

def __call__(self, axes, renderer):

    bbox0 = self.get_original_position(axes, renderer)
    bbox = bbox0
    (x1, y1, w, h) = bbox.bounds
    extesion_fraction = self.extesion_fraction
    (dw, dh) = ((w * extesion_fraction), (h * extesion_fraction))
    if (self.extend in [u'min', u'both']):
        if (self.orientation == u'horizontal'):
            x1 = (x1 + dw)
        else:
            y1 = (y1 + dh)
    if (self.extend in [u'max', u'both']):
        if (self.orientation == u'horizontal'):
            w = (w - (2 * dw))
        else:
            h = (h - (2 * dh))
    return Bbox.from_bounds(x1, y1, w, h)
