How to change the graph dom style in streamlit?

I plot a graph with streamlit_echarts
and I want to change the dom height, width and other style.
How can I make it come true:
for example, how to change the height from 300px to 600px?

Hey @BeyondMyself

There is a width and height parameter in the API which controls the size of the div wrapping the chart you could try. Does it work out for you?
Do note that your chart will no longer be responsive when you set up the dimensions yourself.

Cheers,
Fanilo

1 Like

Thanks, It works, use the follow code can set the width and height

st_pyecharts(options=option, width="500px", height="700px", key="1")