(self, fps)
Update the FPS in the corresponding text visual.
Update the FPS in the corresponding text visual.
Update the FPS in the corresponding text visual .
def update_fps(self, fps):
        """Update the FPS in the corresponding text visual."""
        self.set_data(visual='fps', text="FPS: %03d" % fps, visible=True)
def update_fps ( self , fps ) : self . set_data ( visual = 'fps' , text = "FPS: %03d" % fps , visible = True )