Forum Discussion

mtt09mtt's avatar
mtt09mtt
New Member
3 years ago
Solved

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 visual

 

  • 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 :

     

    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:

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

  • 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.

3 Replies

  • 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 :

     

    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:

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

    • mtt09mtt's avatar
      mtt09mtt
      New Member

      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.

      • Ritaf1983's avatar
        Ritaf1983
        Super User

        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.