# Sankey height adjustment

**URL:** <https://community.plotly.com/t/sankey-height-adjustment/91643>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [April 7, 2025, 8:41am UTC](https://community.plotly.com/t/sankey-height-adjustment/91643 "2025-04-07T08:41:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuffle\_to](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/shuffle_to/32/31088_2.png) [@shuffle\_to](https://community.plotly.com/u/shuffle_to)\
**Post date:** [April 7, 2025, 8:41am UTC](https://community.plotly.com/t/sankey-height-adjustment/91643/1 "2025-04-07T08:41:06Z")

</div>

Hi,

i have a sankey plot with a lot of nodes. I want to set x,y for them, which works fine. But some nodes on y go out of boundaries. So i cant see them. If i increase the height property the whole diagram gets stretched. How can i increase the height of the diagram without letting it stretch?

I tried normalizing the y coordinates between 0 and 1 but there are many nodes and because i want to have some padding to make it readable it gets out of boundaries anyways

Thanks
