Python display image in plot. X may be a float array, a uint8 array or a PIL image.