标签: python html json flask plotly
我已经使用plotly.offline.plot(fig, filename='figure_name.html')创建了一个离线绘制的图形,我希望将其与文本和其他内容一起显示在html页面中。如何在Flask中使用javascript或json显示它?
plotly.offline.plot(fig, filename='figure_name.html')