File “C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\image.py”, line 642, in set_data
raise TypeError(“Image data cannot be converted to float”)
TypeError: Image data cannot be converted to float
please help me resolve this error , it is encountered in spyder.