Doc: line breaks for lines too long

Some of the ipython lines in the documentation were so long that they were cut off the page. I've simply added some line breaks.