-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] Plots do not render from in html when exported .ipynb to .html #482
Comments
Thanks. So, the solution for now is to downgrade notebook/nbconvert? |
I'm afraid so. But I don't know how many versions you have to go back. |
Downgrading nbconvert didn't work for me (might be because I'm trying to create slides with Reveal.jl). What ended up doing the trick (thanks to jupyter/nbconvert#1836 (comment)) is was editing the base template located at: $ diff base.html.j2.old base.html.j2
166c166
< {{ output.data['image/svg+xml'].encode("utf-8") | clean_html }}
---
> {{ output.data['image/svg+xml'] }} This will at least render the svg correctly until the folks over at jupyter/nbconvert#1849 have fixed nbconvert. |
Hi, (transferring here from Plots.jl, also asked at discourse)
when I export a julia notebook .ipynb to html it does not export GR.jl-created images well. They show in html as a svg code but are not well rendered. With PyPlot.jl figures show in .html as expected figures/plots.
I don’t know if the problem is with GR.jl, IJulia, or something within Jupyter-lab as nbconverter.
Using Julia 1.6.7
HTML file:

Notebook:

Output of versioninfo():
also in:
The text was updated successfully, but these errors were encountered: