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 September 15. Request your voucher.

Reply
bub0
New Member

Issue with visualization of pm4py inside of Python visual

Dear community,

 

I want to use python visuals inside a power BI report. In particular, I want to test the functionality of the library pm4py.

With the use of pm4py library I build a process model that can be visualized, however when I try to display the result it is shown outside of the report as a new image. I want the process flow to be inside of the visual in my report.

 

Could anyone help with this matter? What would be the reason behind it?

Other usage of python that is based on other libraries such as pyplot works well for me.

1 ACCEPTED SOLUTION
bub0
New Member

I have found a solution today with the function matplotlib_view(gviz). Now I have the problem, that the process map is shown very small with huge white borders.

View solution in original post

2 REPLIES 2
Perb
New Member

Will you please share the last lines of your power Bi code for get the pm4py graph img to Power Bi via gviz ?

 

bub0
New Member

I have found a solution today with the function matplotlib_view(gviz). Now I have the problem, that the process map is shown very small with huge white borders.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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