%matplotlib inline
import matplotlib.pyplot as plt
import matplotlib as mpl
mpl.__version__
'1.3.1'
fig, ((ax1,ax2),(ax3,ax4)) = plt.subplots(2,2, sharex='col', sharey='row')
ax1.set_xlim(3,5)
ax2.set_xlim(4,10)
for ax,axid in zip([ax1,ax2,ax3,ax4],
['ax1','ax2','ax3','ax4']):
ax.text(0.5,0.5,axid, size=16, ha='center', va='center', transform=ax.transAxes)