That notebook was probably written for an IPython ran with the --pylab
option, that imports figsize
from IPython.core.pylabtools.
It's not a good practice to use it, though, as it imports tons of stuff you don't necessarily use and also may clobber some other variables.
Read more: