IPython Notebook, change inline figure size
%pylab inline import matplotlib.pylab as pylab import os pylab.rcParams['figure.figsize'] = 8, 6 # that's default image size for this interactive session