Image-With-Matplot
Sat 17 May 2025
!python --version
Python 3.10.5
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
# Path to your PNG file
image_path = 'deer.jpg'
# Load and display the image
img = mpimg.imread(image_path)
plt.imshow(img)
plt.axis('off') # Turn off axis
plt.show()

Score: 5
Category: image-work
