How to set use_column_width=True with component.html

Hi,
I am creating an animated matplotlib line chart and displaying it on the app using the following lines:

animation = FuncAnimation(fig, animate, frames=8, interval=1000)
components.html(animation.to_jshtml(), height=400 )

Although it works, it is not responsive for screen of different sizes. Could you please help?

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