Hide sliders before exporting to a PNG with toImage

Hello,

How to do a PNG image export with Plotly.toImage, without the sliders of a plot?

I have a plot with many sliders, and I would like to export as PNG only the plot.

Thanks for your ideas!

Hello @stamljf,

You might be able to pass a style to those elements of display none when that button is pushed by adding an event listener. :slight_smile: