code: def flip_h(self, redraw=True):
          
  
          pixel_list = self.get_pixels()
          flipped = []
          for i in range(8):
              offset = i * 8
              flipped.extend(reversed(pixel_list[offset:offset + 8]))
          if redraw:
              self.set_pixels(flipped)
          return flipped
docs: Flip LED matrix horizontal