I ran into the exact same issue -- widgets work well with:

$ jupyter notebook

but once I convert with 

$jupyter nbconvert -to=html --ExecutePreprocessor.enabled=True test.ipynb 
--post serve

I do not get the widgets in the browser. 

On Monday, July 4, 2016 at 2:07:52 PM UTC-4, Mike Stewart wrote:
>
> Hello,
>
> I am trying to include interactive widgets in an html rendering of a 
> jupyter notebook via nbconvert:
>
> jupyter nbconvert --to html --allow-errors --execute "$1" --output 
> output_files/"$2"
>
> However, the html includes only the static rendering of my widgets, even 
> though they work totally fine in the notebook itself. I know there must be 
> a way to embed the live versions as I've seen it around the web, but I 
> can't for the life of me get anything to work.
>
> I am trying to use the html as the output of an analysis I'm doing in lieu 
> of google slides or the like, so I need to be able to easily share the 
> output and have the interactive widgets work for various people on 
> different machines that likely don't have jupyter notebook etc. on them.
>
> I'm having similar difficulty getting a qgrid 
> <https://github.com/quantopian/qgrid> view of a dataframe to embed (I 
> can't even see a static version of the grid in HTML), but this is a much 
> less pressing problem.
>
> Any assistance would be very much appreciated!!
>
> Warmest regards,
> -M
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/931ce47d-e548-4e60-aaeb-51dc84155ccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to