Maybe this is worth reviewing and refining: seems like all the parts are there, as I suspected.

BTW, whatever you do, do not follow the instructions that the matplotlib developers provide. You do not need another Python, including MacPython or the Endthought distribution or anything else..
Paul Beard

Are you trying to win an argument or solve a problem?