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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.