Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
mtt09mtt
New Member

Expand matplotlib plot in a python visual

Hi All,

I am new to Power BI desktop. My questions are: a) How do I expand the plot (vertically) in the python visual, so it fills up the white spaces on the top and at the bottom of the visual? And b) how to move the header title down abit (away from the top border)?

(plese see a screen shot)

Thank you,

Davis,

matplotlib plot on a python visualmatplotlib plot on a python visual

 

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @mtt09mtt I'm not working with Phyton visuals, but on a regular, you can change white spaces with "padding" options, try to check if you have them :

Ritaf1983_0-1688698712226.png

 

Space between the graph and title is unflexible, I don't like it to so using text textbox/card visuals and just grouping it with the graphs:
Please see attached image, it has 3 objects:

Ritaf1983_1-1688698849367.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Hi again ☺️, as i mentioned , there is no options to play with this space , unforunately. Just switch off a title and get it manualy with textbox as i showed.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @mtt09mtt I'm not working with Phyton visuals, but on a regular, you can change white spaces with "padding" options, try to check if you have them :

Ritaf1983_0-1688698712226.png

 

Space between the graph and title is unflexible, I don't like it to so using text textbox/card visuals and just grouping it with the graphs:
Please see attached image, it has 3 objects:

Ritaf1983_1-1688698849367.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hey Ritaf1983,
Thanks for the help. Applied padding - it worked for the title! (so the heading title is flexible in term of the position). Still struggling with the space from plot to the heading title.pyvisual.PNG

Hi again ☺️, as i mentioned , there is no options to play with this space , unforunately. Just switch off a title and get it manualy with textbox as i showed.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.