Function in edit box

All,

Anyone have a small (short) example using Matplotlib and possibly wxPython where the user enters a function in an edit box and Matplotlib responds by sketching the graph over a domain?

David.