March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
We have built a Power BI report which display images using the simple image visual and we want to overlay bounding boxes on top of the image.
Our idea was to use a Python visual which sits on top of the simple image visual and use matplotlib to draw rectangles but we can't find a way to make the Python visual use a transparent background.
We've tried changing the background setting but this does not work.
I'm guessing it may be something that needs to be configured in matplotlib and I'm wondering if anyone has any suggestions for us?
Thanks,
Michael
Solved! Go to Solution.
After further mucking around, managed to find the solution.
Basically need to set the frameon parameter in the figure to false e.g.
plt.figure(frameon=False)Hope this helps someone in the future!
After further mucking around, managed to find the solution.
Basically need to set the frameon parameter in the figure to false e.g.
plt.figure(frameon=False)Hope this helps someone in the future!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
6 | |
3 | |
2 | |
2 | |
2 |