atompy.set_axes_size#
- atompy.set_axes_size(width_inch, height_inch, ax=None, anchor='center')[source]#
Set physical size of ax.
- Parameters:
- width_inch, height_inch
float New width and height of the graph-area of ax (that is, excluding the axis labels, titles, etc).
- ax
matplotlib.pyplot.Axes, optional If
None, change last active axes.- anchor{
"left","right","upper","lower","upper left","upper right","upper center","center left","center right","center center","lower left","lower right","lower center"}, default “center”, Anchor point of ax.
E.g.,
"upper left"means the upper left corner of ax stays fixed.
- width_inch, height_inch