Zapisz oś i wstaw później

fig, (ax1, ax2) = plt.subplots(nrows=2, sharex=True)
Real Raccoon