Hi there - every day I generate several new charts and leverage the HTML code generated for sharing on my blog. Is there a way to generate said HTML code in Python without having to manually navigate to my profile, click on each image, and copy the HTLM Code?
I have found .to_html and able to return the html code. However, all I want is the <div> code so I can drop into an html file. Unfortunately, Iβm not getting this code even when setting include_plotyjs = False. My code outputs JS code that I donβt want.
I currently have this in my script when calling fig.
That returns a bunch of javascript code as well, even when include_plotlyjs=False . Iβd like to get the same that I get when I open up plotly, navigate to my profile, click on an image and navigate to the embedded tab.