In [1]:
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [2]:
%load_ext ipycache

In [4]:
%%cache plot.pkl
print("Hello world!")
plt.plot(np.random.randn(1000));
plt.show()


[Skipped the cell's code and loaded variables  from file 'D:\git\ipycache\examples\plot.pkl'.]
Hello world!

In [5]:
import os
os.remove('plot.pkl')