I’ve managed to get Plotly working as intended. However, I’m only able to export the Plotly charts as an entire HTML file.
How could I incorporate the charts I have made in another website, say Flask for example?
I’ve managed to get Plotly working as intended. However, I’m only able to export the Plotly charts as an entire HTML file.
How could I incorporate the charts I have made in another website, say Flask for example?
Answer is right here!
Convert the graph object into a HTML by using the to_html method, and then incorporate the div HTML code!
Hope this helps someone.