Remove whitespace between subplots in a constrained layout (matplotlib)

How to remove the whitespace between the two subplots, while keeping the constrained layout and not using bbox_inches=‘tight’ ?

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec


df = pd.DataFrame(np.random.randn(10, 4), columns=list('ABCD'))
plt.rcParams['figure.constrained_layout.use'] = False
fig = plt.figure(layout="constrained")
fig.set_figheight(5)
fig.set_figwidth(5)

gs1 = gridspec.GridSpec(2, 1, figure=fig)

ax1 = fig.add_subplot(gs1[0])
ax2 = fig.add_subplot(gs1[1],sharex=ax1)


ax2.table(cellText=df.values, colLabels=df.columns, rowLabels=[
    'Something', '1','2','3','4', '5','6','7','8','9'], loc='center')
ax2.axis('off')
ax1.axes.get_xaxis().set_visible(False)
gs1.update(wspace=0, hspace=0)
plt.show()

Example

It looks like this one has been answered over on StackOverflow