Could you check the value range of the white image and make sure matplotlib is able to visualize it?
Based on the data type and range I guess matplotlib might automatically rescale the numpy array and could yield an “empty” image.