I am creating a graph on plotly and I changed the render to iframe. I am running the code in spyder.
Everytime I run the file, it creates a file figurexx where xx is a number.
How can I specify the file name
The code is below and I am executing this in spyder.
import plotly.graph_objects as go
import numpy as np
x = np.arange(10)
fig = go.Figure(data=go.Scatter(x=x, y=x**2))
fig.show(renderer = “iframe”)