Skip to content

Commit 3a17e21

Browse files
committed
restore to code generated figure and reset to numref as should work
1 parent 3426b1e commit 3a17e21

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

lectures/_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ latex:
3434
sphinx:
3535
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_tojupyter, sphinxcontrib.youtube, sphinx.ext.todo, sphinx_exercise, sphinx_togglebutton, sphinx.ext.intersphinx, sphinx_reredirects]
3636
config:
37-
numfig: True
3837
bibtex_reference_style: author_year
3938
nb_mime_priority_overrides: [
4039
# HTML

lectures/cass_koopmans_1.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ kernelspec:
2222

2323
# Cass-Koopmans Model
2424

25-
```{contents} Contents
26-
:depth: 2
27-
```
28-
2925
## Overview
3026

3127
This lecture and {doc}`Cass-Koopmans Competitive Equilibrium <cass_koopmans_2>` describe a model that Tjalling Koopmans {cite}`Koopmans`
@@ -1003,13 +999,14 @@ In addition to the three curves, Figure {numref}`stable_manifold` plots arrows
1003999
10041000
* If $C_0$ is set above the green line for a given $K_0$, too little capital is accumulated
10051001
1006-
```{figure} _static/lecture_specific/cass_koopmans_1/fig_stable_manifold.png
1007-
:name: stable_manifold
1008-
```
1009-
1010-
This figure is generated by the following code.
1011-
10121002
```{code-cell} ipython3
1003+
---
1004+
mystnb:
1005+
figure:
1006+
caption: "Stable Manifold and Phase Plane"
1007+
name: stable_manifold
1008+
tags: [hide-input]
1009+
---
10131010
fig, ax = plt.subplots(figsize=(7, 5))
10141011
10151012
K_range = np.arange(1e-1, 15, 0.1)
@@ -1058,9 +1055,6 @@ ax.set_ylabel('$C$')
10581055
plt.show()
10591056
```
10601057
1061-
1062-
1063-
10641058
## Concluding Remarks
10651059
10661060
In {doc}`Cass-Koopmans Competitive Equilibrium <cass_koopmans_2>`, we study a decentralized version of an economy with exactly the same

0 commit comments

Comments
 (0)