Maybe use `plt.subplots` (note trailing "s") instead. (See [examples here](http://matplotlib.org/users/recipes.html#easily-creating-subplots)).