allow ipython console to handle text/plain display

@gibiansky reported that this wasn't working in ipython console

test coming, just wanted to post the PR so Andrew could have the fix