Render cairo surfaces and contexts in an ipython notebook.