(self, index, data)
Set pixels in viewport.
Set pixels in viewport.
Set pixels in viewport .
def __setitem__(self, index, data):
        """Set pixels in viewport."""
        self._pixels[self._convert_slice(index)] = data
def __setitem__ ( self , index , data ) : self . _pixels [ self . _convert_slice ( index ) ] = data