buffer (ndarray) – A MxNx{3,4} numpy array of uint8 to be used as the backing pixel store
pix_format (str) – A string specifying the pixel format. Same as what it passed to
GraphicsContext
.
bottom_up (bool [optional, defaults to True]) – If True, the origin is bottom-left instead of top-left.