Getting <script> and <div> tags from Plotly using Python
I was wondering if anyone knew a good way (preferably a built in method, but I'm open to writing my own of course) to get the <script> and <div> tags from the HTML output of the Plotly offline client. I'm already familiar with bokeh and really enjoy using it for 2D visualization, but would really like to integrate Plotly as well for its 3D visualization capabilities. Let me know if you need any extra details about the project. If you call: plotly.offline.plot(data, filename='file.html') It creates a file named file.html and opens it up in your web browser. However, if you do: plotly.offline