I saw this the other day (scroll all the way down to see some of the clever stuff):
http://www.mono-project.com/docs/tools+libraries/tools/repl/
I think that a combination of Pycrust with matplotlib can do exactly what you need. Pycrust is part of the wxPython installation, and matplotlib should be insalled separately. Both are simple to install in about 5 minutes.
Read this about integrating matplotlib with Pycrust to produce dynamic plots like the ones in the link you posted.