code: def rowsWithin(self, bbox):
          'return list of deduped rows within bbox'
          ret = {}
          for y in range(bbox.ymin, bbox.ymax+1):
              for x in range(bbox.xmin, bbox.xmax+1):
                  for attr, rows in self.pixels[y][x].items():
                      if attr not in self.hiddenAttrs:
                          for r in rows:
                              ret[id(r)] = r
          return list(ret.values()f rowsWithin(self, bbox):
          'return list of deduped rows within bbox'
          ret = {}
          for y in range(bbox.ymin, bbox.ymax+1):
              for x in range(bbox.xmin, bbox.xmax+1):
                  for attr, rows in self.pixels[y][x].items():
                      if attr not in self.hiddenAttrs:
                          for r in rows:
                              ret[id(r)] = r
          return list(ret.values())
docs: return list of deduped rows within bbox