Skip to content

Commit b93c4d2

Browse files
committed
fix theorem labels
1 parent 643175a commit b93c4d2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lectures/networks.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ nx.draw_spring(G_p, ax=ax, node_size=500, with_labels=True,
388388
plt.show()
389389
```
390390

391-
The figure obtained above matches the
392-
original directed graph in {numref}`poverty_trap`.
391+
The figure obtained above matches the original directed graph in {numref}`poverty_trap`.
393392

394393

395394
`DiGraph` objects have methods that calculate in-degree and out-degree
@@ -820,7 +819,8 @@ Let $a^k_{ij}$ be element $i,j$ of $A^k$, the $k$-th power of $A$.
820819

821820
The following result is useful in many applications:
822821

823-
````{prf:theorem} graph_theory_property1
822+
````{prf:theorem}
823+
:label: graph_theory_property1
824824
825825
For distinct nodes $i, j$ in $V$ and any integer $k$, we have
826826
@@ -845,7 +845,8 @@ nonnegative matrix $A$ is called irreducible if for each $(i,j)$ there is an int
845845
From the preceding theorem it is not too difficult (see
846846
\cite{sargent2022economic} for details) to get the next result.
847847

848-
````{prf:theorem} graph_theory_property2
848+
````{prf:theorem}
849+
:label: graph_theory_property2
849850
850851
For a weighted directed graph the following statements are equivalent:
851852
@@ -1568,7 +1569,3 @@ is_accessible(G,3,6)
15681569

15691570
```{solution-end}
15701571
```
1571-
1572-
```{code-cell} ipython3
1573-
1574-
```

0 commit comments

Comments
 (0)