Jupyter: embed live interactive widgets
<p>According to the Jupyter blog <a href="http://blog.jupyter.org/2016/04/22/ipywidgets5/" rel="noreferrer">here</a>, it is now possible to embed interactive widgets in a static webpage:</p>

<blockquote>
  <p>Live interactive widgets can now be embedded into static web pages or blogs by inserting an html snippet containing the serialized widget state. This also works with custom widget libraries. See <a href="http://jupyter.org/embed-jupyter-widgets.html" rel="noreferrer">http://jupyter.org/embed-jupyter-widgets.html</a>.</p>
</blockquote>

<p>When I open the example above, in firefox or chrome, I get the interactive widgets alright! </p>

<p>However, if I create a new notebook with the same bit of python code, save the notebook as html, and then copy-paste the embeddable HTML snippet to render the interactive widgets, it is not working. At best I obtain an image of the widget state, but nothing interactive.</p>

<p>Has anyone managed to replicate the HTML page with interactive widgets? Is there something that I am missing?</p>