improvements to the ipython examples