code: def array_scanlines(self, pixels):
          
  
          # Values per row
          vpr = self.width * self.planes
          stop = 0
          for y in range(self.height):
              start = stop
              stop = start + vpr
              yield pixels[start:stop]
docs: Generates rows (each a sequence of values) from
          a single array of values.