question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pelican blog generator and ipynb plugin

See original GitHub issue

I have been messing around with pelican lately and have been trying to get my static interactive visualizations up as html. I am also using the ipynb plugin. I believe this plugin just uses nbconvert in the background though.

I have been having issues with getting my actual plot (its a HoloMap) rendered in the output. If I view the generated html from nbconvert it works fine, but its when I generate the html tree in Pelican that the results look something like this… image

Opening up the console shows that the reference to HoloViews can not be resolved: image

This is most likely a Pelican issue but I am just reaching out to see if anyone has had past experience with getting HoloViews outputs to play nicely with Pelican or a similar static site generator. I have taken a glance at the hack mentioned in #2574 but I am not sure if that is still relevant.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
philippjfrcommented, Dec 2, 2019

Current HoloViews widgets requires jQuery (in future versions it will no longer be required. You should put the jQuery dependency in your base.html template like this: https://github.com/pyviz-dev/blog/blob/871370f5e19b82485c50d8d33e1b4d5079785c0d/theme/templates/base.html#L22

0reactions
boludo00commented, Dec 9, 2019

I am noticing now that the requireJS when included in my base.html ends up breaking some of my graphics that use other graphing libraries (undefined references even though im including the javascript libraries). Has anyone encountered this or have any advice going forward?

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub - chuckpr/pelican-jupyter-reader
Jupyter (.ipynb) reader for the Pelican static site generator ... This Pelican plugin provides a Jupyter Notebook (i.e. *.ipynb ) reader.
Read more >
Creating a Jupyter Notebook-Powered Data Science Blog with ...
Pelican -powered blogs are light and easy to host with no scaling concerns. It pre-generates HTML files and responds with the existing files ......
Read more >
Configure Pelican for Jupyter notebooks, code, and math display
As a final step we'll configure Pelican to enable Jupyter notebook integration. This will let us quickly copy in analysis .ipynb files and ......
Read more >
Some Tips for Using Jupyter Notebooks with Pelican
Using a static site generator like Pelican, along with the category and tag system, ... jupyter nbconvert --to markdown <notebook.ipynb>.
Read more >
How I Build This Site - Part 4
In this post we are going to install a couple of plugins to add extra ... pelican, blog Slug: first-post Authors: Peter D....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found