imshow(ImageArray, cmap='hot', vmin=0, vmax=255) code example Example: plt.imshow grayscale plt.imshow(arr, cmap='gray', vmin=0, vmax=255)