ax4 = plt.axes([left, 0.1, width, 0.09], sharex=ax2)
ax1.xaxis.tick_top()
ax2.xaxis.set_visible(False)
ax3.xaxis.set_visible(False)
ax4.xaxis.tick_bottom()
plt.show()
Creating subplots with differing shapes in matplotlib