Is there a trick to reduce vertical space between elements (e.g. plotly charts)?

I have created a pie chart using plotly. I only want to use a half pie chart so I fake this by using only a white segment for the lower half of the chart.

Implementing this chart via st.plotly leads to the fact that there is a large space to the following element. Of course, this is logical as actually the pie chart is larger as the user can see it.

Does anyone has an idea how to reduce this space? I have tried to to use a pseudo DIV element with some CSS and negative margins but that did not lead to success.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.