matplotlib.axes.Axes.set_position#
- Axes.set_position(pos, which='both')[source]#
Set the Axes position.
Axes have two position attributes. The 'original' position is the position allocated for the Axes. The 'active' position is the position the Axes is actually drawn at. These positions are usually the same unless a fixed aspect is set to the Axes. See
Axes.set_aspect
for details.
Examples using matplotlib.axes.Axes.set_position
#
Contour Demo