Some basic code for rendering a matplotlib figure in a wxFrame.