import matplotlib.pyplot as plt # 이미지 파일 읽기 img = plt.imread('example.jpg') # 이미지 출력 plt.imshow(img) plt.title('Example Matplotlib Image') plt.axis('off') # 축 제거 plt.show()