-
DescriptionHi. Thank you for making Quarto, which I use extensively in research and teaching. I'm trying to render Quarto notebooks to PDF (think many reports from students, so it should be done from the command line with, e.g., There's another package called PlotlyKaleido.jl that can be used to download a plot in svg, png, pdf, etc. The following sample notebook illustrates what I'm trying to accomplish.
A similar I opened an issue over at PlotlyKaleido.jl, but the fact that the image is downloaded with Jupyter makes me think that someone here may have an idea of what's going on. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 22 replies
-
You are not executing |
Beta Was this translation helpful? Give feedback.
-
Months later, I'm back to the question above. It appears that the html rendering no longer includes the plot. If I run the simplified sample notebook
the plot pops up in a new tab of my default browser while the html file generated does not contain the plot. I am running Quarto 1.7.30 installed from Homebrew on a Mac M1. |
Beta Was this translation helpful? Give feedback.
-
So sorry to come back again with the same problematic notebook. I'm teaching a class where the students use Quarto and, to my surprise, things that worked on macOS and Linux didn't on Windows. I personally don't use Windows, but I was able to reproduce the glitch on one of the Windows 10 workstations with a fresh install of VSCode, Julia and Quarto.
However, uncomment the 3 lines about This time I feel that the issue is with Quarto because running the same Julia commands at a Julia prompt works fine on all platforms. I ran Any ideas what may be happening here? Thanks in advance!!! |
Beta Was this translation helpful? Give feedback.
You are not executing
PlotlyKaleido.savefig(p, "myplot.svg")
.It's a regular code block and not a code cell that is evaluated. You need the brackets.