<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ylim(self, low, high, index=1):
 """Set yaxis limits. Parameters low : number high : number index : int, optional Returns ------- Chart """

        self.layout['yaxis' + str(index)]['range'] = [low, high]
        return self