atompy.align_axes_vertically#

atompy.align_axes_vertically(ax, reference_ax, alignment='center')[source]#

Set horizontal position of ax relative to reference_ax.

Parameters:
axmatplotlib.axes.Axes

Axes to reposition.

reference_axmatplotlib.axes.Axes

Reference axes.

alignment{"center", "top", "bottom"}, default "center"

Which reference axis to take from reference_ax.