how to export figures to files from ipython notebook,savefig('sample.pdf')