class Animator(wx.Timer):

    def Notify(self):
        """When a wx.Timer goes off, it calls its Notify() method."""
How to interact with mayavi window while animating particles? (during Particle Swarm Optimization)