I am using plotly offline to write plot to hmtl file. And then upload those file to google cloud storage.
I want to display the html file using iframe. But when I open the page containing the iframe, the plotly html file just got downloaded and not displayed on the iframe.
Other html file can be displayed using the same iframe.
Is there any way to display the plotly result in iframe?
Thanks.
Edit: nevermind, turn out i need to set the content type when writing to gcs.
What do u mean exactly? I currently have a hmtl plotly file on my desktop and when I put that into vs code it expires after couple of hours and it automatically adds .icloud extension to it. I would really appreciate your help!
Ah, I put the html files in Google cloud storage, so there is a link to there.
I am not familiar with the local/desktop one as I donβt put the file in desktop.