DOC/BUG: fix doc build error because a frame was being redefined
not sure if this qualifies as one that i should have pushed directly to `master`.

might be worth noting to be a bit more careful when redefining variables in the ipython snippets since there's a global namespace shared....

also maybe reminder to build the docs from scratch after you make changes
 yep
easy enough to push to master
