Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I am trying to generate a python visual from power BI. I was able to generate a line chart. But I am unable to increase the size of the visual in power BI.Its always fixed.
Code: Output is a dataframe with Actual and Optimized Budget.I used matplotlib to plot line chart
Any help would be greatly appreciated.
Solved! Go to Solution.
Hi @mjo31
See if these can help:
plt figsize Code Example (codegrepper.com)
How to Set the Size of a Figure in Matplotlib with Python (learningaboutelectronics.com)
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
A simple solution could be to only set your plot tightness with plt.tight_layout()
Hi @mjo31
See if these can help:
plt figsize Code Example (codegrepper.com)
How to Set the Size of a Figure in Matplotlib with Python (learningaboutelectronics.com)
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
| User | Count |
|---|---|
| 76 | |
| 34 | |
| 31 | |
| 29 | |
| 25 |