the question is trivial, but cannot solve it alone. What I would like to achieve is to save in the same path, and at the same time, the html and a png image of the plot.
For instance, with this small piece of code:
data = [go.Scatter(x=[1, 2, 3], y=[3, 2, 6])] plotly.offline.plot(data, filename='/tmp/my-plot', image='svg')
I would like to auto-open the html (correctly done) and saving
my-plot.svg in the
/tmp directory but silently. At the moment, when running the code, the browser is asking me where to save the svg image.
Is it possible?