-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jgraph graphs do not render in Jupiter lab? #13
Comments
Same as you @smartinsightsfromdata |
Same issue here, with the same exception. |
Quick FixRun this in the top notebook cell: %%bash
wget https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js
wget https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.js Jupyter lab no longer imports these libraries by default. This cell should download the files to your lab directory, making them importable. The Right FixThese dependencies aren't needed by jgraph and the code could be modified easily enough. (however, I don't want to support two different implementations for notebook and lab.) If there's enough interest in using this library, I can put some time into modifying it. I'm also more than willing to review a PR. Let me know if this helps! |
hey thanks so much @patrickfuller ! I really appreciate the quick response here. 👍 |
I run the example notebook in
Jupiter notebook
and everything works.I tried to do the same in
jupyter lab
but the graphs are not rendered.Any suggestion please?
The text was updated successfully, but these errors were encountered: