Change filename for iframes render

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”)

Did you ever get to the bottom of this one? I am also trying to find out how to do that.
When using an image renderer, I can use the filename parameter in the .show() call, but that doesn’t seem to work for iframe