Why am I getting TypeError “Image data cannot be converted ...
https://stackanswers.net/questions/why-am-i-getting-typeerror-image...File "<stdin>", line 1, in <module> line 34, in read_data plt.imshow(image) matplotlib\pyplot.py, line 3205, in imshow **kwargs) matplotlib\__init__.py, line 1855, in inner return func(ax, *args, **kwargs) matplotlib\axes\_axes.py, line 5487, in imshow im.set_data(X) matplotlib\image.py, line 649, in set_data raise TypeError("Image data cannot be converted to float")