DOC: fix IPython snippet