Display dynamic plots within wx GUI

Hello,

I am trying to embed a dynamic figure within a GUI generated WX interface but it only displays the last evaluation. I have tried embedding the animated examples as provided by the animated link, www.scipy.org/Cookbook/Matplotlib/Animations but it only shows the last result in the frame. When calling these example outside the GUI, they produce the dynamic visualizations and expected.

Can anyone provide me with guidance in generalizing the animated examples within embedded GUIs.

Thanks

Steve