On Tue, 12 Nov 2019 at 22:52, Mike Jarrett <msjarr...@gmail.com> wrote:
>
>
> Has anyone had success getting Plotly figures to show up in a rendered 
> Jupyter notebook on your Nikola site?
>
> When I use nbconvert to convert .ipynb->.html the figures show up fine, but 
> not when rendered via Nikola.
>
> I've added """<script 
> src="https://cdn.plot.ly/plotly-latest.min.js";></script>""" to 
> EXTRA_HEAD_DATA  in conf.py.
>
> I have an example up on my site at https://notes.mikejarrett.ca/plotly-test/ 
> if anyone can debug. I think I may be missing other js libraries but I'm not 
> sure which.
>
> Thanks!
>
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups 
> "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to nikola-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/nikola-discuss/43d70f99-0928-4e0c-85b9-14113a26b578%40googlegroups.com.

Some people have tried on this group and GitHub with varying success.
>From the JS console, it looks like you will need to provide some
implementation of require() for plotly. Note that someone had issues
with it, because require() interfered with KaTeX.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nikola-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7K23Y1czrJ%2BbL3eOkbOGCLgwOVyT5%2BfWwu3x7SSBpgyOQ%40mail.gmail.com.

Reply via email to