import matplotlib.pyplot as plt
import numpy as np

fig , axes = plt.subplots(2,2,sharex=True,sharey=False)
for i in range(2):
    for j in range(2):
        axes[i,j].hist(np.random.randn(500),bins = 50,color='b',alpha=0.5)
plt.subplots_adjust(wspace=0,hspace=0)
plt.show()