Getting <script> and <div> tags from Plotly using Python
<p>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 <code>&lt;script&gt;</code> and <code>&lt;div&gt;</code> tags from the HTML output of the Plotly offline client.</p>

<p>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. </p>

<p>Let me know if you need any extra details about the project.</p>