<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def autozoom(self, n=None):
 """ Auto-scales the axes to fit all the data in plot index n. If n == None, auto-scale everyone. """

        if n==None:
            for p in self.plot_widgets: p.autoRange()
        else:        self.plot_widgets[n].autoRange()

        return self