Hi, my app produces hundreds of HTML files with Plotly plots. The approach is very useful and efficient if I want to check how my code works with different configuration of input parameters. I just need to run the code and HTML files in a browser. Lots of fun!
But now I need to advance to the next level.
I need to include the Plotly plots I have into a LaTeX file. And here is the problem. For every HTML file, I open it in a browser, click on the export icon, type a file name, and save it. Repeated hundred times. Not fun. I wonder, can it be done automatically in a script? It is perfectly fine if I do this in nodejs/python (or something else) environment. I just want to have a script which takes an HTML file as the input, and produces a PNG file as the output.
Any suggestions? Thanks a lot!