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
Hi,
I'm currently using matplotlib to plot some dataframes with Python Visual. The problem is that the dataframe is hard to read when you have more than 4 columns and I'm unable to make the font size bigger or expand the visualization more. Is there any way that I can make this table bigger? It seems there is a lot of whitespace in the horizontal and vertical axis.
Here is my code:
Solved! Go to Solution.
Hi @Anonymous ,
Try to use figsize=(x,y) or set_figheight(), set_figwidth() to change the size of your Plot.
Besides, Python visuals in Power BI Desktop have the some limitations
Especially all Python visuals display at 72 DPI resolution. Maybe you need to change the DPI of your plot.
For more details, please refer to:
How to Change Plot and Figure Size in Matplotlib • datagy.
Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try to use figsize=(x,y) or set_figheight(), set_figwidth() to change the size of your Plot.
Besides, Python visuals in Power BI Desktop have the some limitations
Especially all Python visuals display at 72 DPI resolution. Maybe you need to change the DPI of your plot.
For more details, please refer to:
How to Change Plot and Figure Size in Matplotlib • datagy.
Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 68 | |
| 51 |