Using matplotlib in IPython Notebook