def set_position(self, pos, which='<STR_LIT>'):
if not isinstance(pos, mtransforms.BboxBase):<EOL><INDENT>pos = mtransforms.Bbox.from_bounds(*pos)<EOL><DEDENT>if which in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self._position.set(pos)<EOL><DEDENT>if which in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self._originalPosition.set(pos)<EOL><DEDENT>
Set the axes position with::

  pos = [left, bottom, width, height]

in relative 0,1 coords, or *pos* can be a
:class:`~matplotlib.transforms.Bbox`

There are two position variables: one which is ultimately
used, but which may be modified by :meth:`apply_aspect`, and a
second which is the starting point for :meth:`apply_aspect`.


Optional keyword arguments:
  *which*

    ==========   ====================
    value        description
    ==========   ====================
    'active'     to change the first
    'original'   to change the second
    'both'       to change both
    ==========   ====================