Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
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.
Thanks anyone who can help me.
You cannot interact with the plot in a python visual.
Advanced Python Visualizations in PowerBI | Towards Data Science
Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Docs
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!