Is there a way to merge/embed multiple Plotly HTML files into one page/HTML file offline?

一个人想着一个人 提交于 2019-12-08 04:34:36

问题


I'm trying to combine multiple charts into one HTML report to send out. The thing is I don't really think subplotting is the best idea because the charts are relatively unrelated (different X/Y axes). All I need to do is just append the charts into 1 HTML file. There is a guide that explains how to do it using plotly URLs, but I don't want to rely on an internet connection for automated reporting, and I want to be able to view these reports online

I'm trying to create an HTML report that simply just appends multiple plotly plots into one HTML file instead of having several individual HTML files. The charts aren't really related, so not interested in creating subplots. In theory it's just an HTML file, so I can just copy and paste the code a certain way and have them both show up, right?

Documentation I'm referring to: https://plot.ly/python/html-reports/


回答1:


create a grid layout in the format you want, and then programmatically insert the html into the grid



来源:https://stackoverflow.com/questions/47480741/is-there-a-way-to-merge-embed-multiple-plotly-html-files-into-one-page-html-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!