Plotly events creating a double figure and losing all the formatting

Hi @andrea.botti

It seems you’d like to adjust the plot to fit the browser width for the plot created via streamlit_plotly_events, but could not do so.

As pointed out here you may need to directly modify the Streamlit component to get custom styling.

Perhaps you could also try customizing the CSS styles when using streamlit_plotly_events, more info on how to perform CSS styling is provided in the following video: