I am creating a 3x3 grid of subplots with shared x and y axis in jupyter notebook.
fig, ((ax1,ax2,ax3), (ax4,ax5,ax6), (ax7,ax8,ax9)) = plt.subplots(3,3, sharex