Forum Discussion
Eraclea
4 years agoNew Member
Import image with Python script
Hi, I am looking for a method to load several image with Python scipt into Power BI desktop to create a dashboard. I don't want to manually select images and import them. Here is my current code...
- 4 years ago
matplotlib.pyplot.imshow — Matplotlib 3.5.2 documentation
import matplotlib.pyplot as plt import matplotlib.image as img image = img.imread('c:\\users\\xxx\\downloads\\IMG_20180323_083209.jpg') plt.imshow(image) plt.show()
lbendlin
Super User
4 years agomatplotlib.pyplot.imshow — Matplotlib 3.5.2 documentation
import matplotlib.pyplot as plt
import matplotlib.image as img
image = img.imread('c:\\users\\xxx\\downloads\\IMG_20180323_083209.jpg')
plt.imshow(image)
plt.show()