[IPython-dev] Javascript in nbconverted html?

Doug Blank doug.blank at gmail.com
Fri Sep 5 19:01:46 EDT 2014


Thanks to both of you for the hints... it looks like it is a Javascript
issue... getting those resolved does indeed work!

-Doug


On Fri, Sep 5, 2014 at 6:15 PM, Brian Granger <ellisonbg at gmail.com> wrote:

> In master jquery should be loaded onto the nbconvert output page, but
> only if you use the full html style. Otherwise you have to add it
> yourself.
>
> On Fri, Sep 5, 2014 at 2:10 PM, Jacob Vanderplas
> <jakevdp at cs.washington.edu> wrote:
> > Those look to be jquery problems. As I recall, in the live notebook,
> jquery
> > is loaded as part of the background environment. When you render the
> > notebook as standalone HTML, jquery is not loaded unless you do it
> > explicitly.
> > Hope that helps,
> >   Jake
> >
> >
> > On Fri, Sep 5, 2014 at 2:03 PM, Doug Blank <doug.blank at gmail.com> wrote:
> >>
> >> I'm trying to understand why JavaScript output shows in some nbconverted
> >> notebooks, and other notebooks don't show their output.
> >>
> >> For example, here is a set of Google Charts that render JavaScript
> nicely:
> >>
> >>
> >>
> http://nbviewer.ipython.org/urls/bitbucket.org/ipre/calico/raw/master/notebooks/Python/Google%20Charts.ipynb
> >>
> >> But these don't (it is the last one I am especially wondering about):
> >>
> >> http://nbviewer.ipython.org/gist/rdhyee/6131622
> >>
> >>
> >>
> http://nbviewer.ipython.org/url/jupyter.cs.brynmawr.edu/hub/dblank/public/Processing%20Tests.ipynb/%3Fraw
> >>
> >> I don't see anything in the browser console regarding errors or security
> >> issues. Any insight appreciated!
> >>
> >> -Doug
> >>
> >>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140905/8a0a8d61/attachment.html>


More information about the IPython-dev mailing list