Export figurewidgets from jupyter notebook to HTML

Steps 1. and 2. can now be done within the recent JupyterLab versions by enabling the setting “Settings” -> “Save Widget State Automatically” and saving the notebook.

You still have to run nbconvert from the command line as in Step 3, since “Export Notebook to HTML” still doesn’t work with Plotly.