Generate html file, but not display it

Iā€™m trying to use plotly to render a plot to custom browser code. As it stands, if I run py.plot() for my graph, the library creates a temporary html file, and then directs my system browser to display it.

Is there a way to have the .html file be created, but skip the launching of the system browser? All i need is the file. I can (programatically) tell my custom browser to display the html file.

Thanks
Eric

Hi @mn124700
This should work:

fig.write_html("path/to/file.html")

This will generate the HTML file but not run it.