wxPyPlot

Have a look at the bottom of the wxPyPlot code. An example (demo) is given
there. It's not quite minimal but I think you will get the idea.

Regards,

Gordon Williams