<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_draw(self, e):
 """Draw all visuals."""

        gloo.clear()
        for visual in self.visuals:
            logger.log(5, "Draw visual `%s`.", visual)
            visual.on_draw()