%pylab inline
Populating the interactive namespace from numpy and matplotlib
%load_ext ipycache
%%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!
import os
os.remove('plot.pkl')