imshow rgb data code example Example: Clipping input data to the valid range for imshow suppress Add astype('uint8'): plt.imshow(results.astype('uint8'))