-
Notifications
You must be signed in to change notification settings - Fork 14
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
classification1 #3
Comments
General progress:
Questions:
and reference the figure as {numref} |
Great progress! Answers to some of your questions:
You can remove code input cells.
In JupyterBook you can glue variables into the text
You can reference figures in Jupyter Book as well
|
@joelostblom Thanks for your answers, they are quite helpful and clear up most questions I have! For referencing the code chunk, still not able to do that with a label similar to an equation. But it should be good since I can always save the plot and reference through a markdown cell. |
Great! I think these three issues might be helpful to figure out if it is possible, or follow up wiith a comment in one of them: |
I tried 2 approaches:
Saving the plot as png or svg seems to work, but without generating proper numbered reference (and defeats the purpose of referencing a code chunk)
|
Oh cool! I thought that would not work from reading the comments, great find @GloriaWYY ! I just made a PR #5 , with a way that does not require glueing, but I needed to modify the CSS and have an empty image in the figure directive with the caption. I think either of these solutions will work, although it might be annoying to have to assign each plot to a variable name, include the additional glueing cell, and set its metadata in addition to having the fig caption cell for each plot? On the other hand, this does not require changing any css or having empty images so that could be an advantage maybe? I am leaning towards the solution we merged in, but not with much. cc @phaustin |
Some Questions
|
|
PR #7
The text was updated successfully, but these errors were encountered: