hamsci_psws.gen_lib.adjust_axes¶
- hamsci_psws.gen_lib.adjust_axes(ax_0, ax_1)[source]¶
Align the right-hand position of ax_0 to match the right-hand position of ax_1. This is useful if ax_1 has a colorbar and ax_0 does not, and you want to make sure the x-axes of both ax_objects line up.
- Parameters
ax_0 – matplotlib axis object to be adjusted
ax_1 – matplotlib axis object that is used as the reference position.