Skip to content

Commit

Permalink
misc edits
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Dec 12, 2024
1 parent ac2b2be commit 44fc3a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/figure_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ node_trace.text = node_text
The next code cell will be generating the output we are interested in! We will `label` it, so that we can embed its output in the body of our main MyST article. That being said, depending on the purpose of your document (e.g., if you'd like to use the `book-theme` for an interactive tutorial) you may not be interested in embedding the output of a code cell.

```{code-cell} python
#| label: fig2cell
:label: fig2cell
fig = go.Figure(data=[edge_trace, node_trace],
layout=go.Layout(
Expand Down
2 changes: 1 addition & 1 deletion paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Here is another figure generated from another notebook:
:::{figure} #fig2cell
:label: fig2

An example of a figure generated from a Jupyter Notebook that lives in the `content` folder of this repository. Check `content/figure_1.ipynb` to see how this figure was generated and where the label `#fig2cell` is defined.
An example of a figure generated from a Jupyter Notebook that lives in the `content` folder of this repository. Check `content/figure_2.md` to see how this figure was generated and where the label `#fig2cell` is defined.
:::

Both interactive, cool right! All your assets are centralized in this one document, which ideally lives in a GitHub repository. You may forget what you did, but your commit history will be there to remind you.
Expand Down

0 comments on commit 44fc3a9

Please sign in to comment.