code: def get_bounds(pts):
      
      pts_t = np.asarray(pts).T
      return np.asarray(([np.min(_pts) for _pts in pts_t],
                         [np.max(_pts) for _pts in pts_t]))
docs: Return the minimum point and maximum point bounding a
      set of points.