mpl.axes.Subplot.set_position¶
-
Subplot.set_position(pos, which=u'both')¶ Set the axes position with:
pos = [left, bottom, width, height]
in relative 0,1 coords, or pos can be a
BboxThere are two position variables: one which is ultimately used, but which may be modified by
apply_aspect(), and a second which is the starting point forapply_aspect().- Optional keyword arguments:
which
value description ‘active’ to change the first ‘original’ to change the second ‘both’ to change both