I am trying to read a png image in python. The imread function in scipy is being deprecated and they recommend using imageio
png
imread
scipy
imageio
import matplotlib.pyplot as plt image = plt.imread('images/my_image4.jpg') plt.imshow(image)
Using 'matplotlib.pyplot.imread' is recommended by warning messages in jupyter.