astropy/astropy-tutorials — pull request #60 by adrn (2014-05-13 02:53:04+00:00)
Title: Add show/hide button for tracebacks 

This is maybe not what you had in mind, but it's a quick-fix and has the added value of letting the user see the full traceback if they want to.

Here's a demo:
http://adrn.github.io/astropy-tutorials/Quantities.html