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()
v-chenwuz-msft
Community Support
4 years agoHi Eraclea ,
You should use the Python visual rather than python script.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.