rizer.misc.plt_utils#

Functions#

align_yaxis_np(→ None)

Align zeros of the two axes, zooming them out by same ratio.

Module Contents#

rizer.misc.plt_utils.align_yaxis_np(ax1: matplotlib.pyplot.Axes, ax2: matplotlib.pyplot.Axes) None#

Align zeros of the two axes, zooming them out by same ratio.

Script taken from [SSO_shared_origin].

Parameters:
  • ax1 (plt.Axes) – First axis.

  • ax2 (plt.Axes) – Second axis.

References