Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Xiaoqing
New Member

How to get the picture when I use Python in Power BI?

Xiaoqing_0-1653876259099.png

I have plotted several points and curves in the picture, and now I want to relize draw one point in the picture by my mouse, but I can't relize it.

I open the Python Scripts Editor in Pycharm(one of Python Compilers), and find matplotlib.use('Agg'), this make my development needs cann't be achieved.

Xiaoqing_2-1653876593984.png

I searched for some answers in Internet, and i knew I can operate the picture(in Opencv)to relize the needs of draw one dot by mouse, but at the end of the Python scripts, the picture will be saved in a randomly named folder, I cann't get detailed file path before I open the Python scripts editor.

Xiaoqing_1-1653876396309.png

Thanks anyone who can help me.

 

1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors