Answers for "WARNING:matplotlib.image:Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers)"

1

Clipping input data to the valid range for imshow suppress

Add astype('uint8'):
	plt.imshow(results.astype('uint8'))
Posted by: Guest on April-20-2020

Code answers related to "WARNING:matplotlib.image:Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers)"

Browse Popular Code Answers by Language