Change figure size in IPython notebook sessions

2012-12-13

To change matplotlib figure size in the IPython notebook session,

import matplotlib.pylab as pylab
pylab.rcParams['figure.figsize'] = 16, 12  # that's default image size for this interactive session