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