<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extent(self):
 """ return range of 2D data """


        return [min(self.x), max(self.x), min(self.y), max(self.y)]