File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Key infrastructure concepts that we'll encounter in this lecture are
30
30
31
31
We will use the following imports.
32
32
33
- ``` python
33
+ ``` {code-cell} ipython3
34
34
import numpy as np
35
35
import matplotlib.pyplot as plt
36
36
```
@@ -142,7 +142,7 @@ In addition
142
142
143
143
+++
144
144
145
- ```python
145
+ ```{code-cell} ipython3
146
146
class SingleGoodMarket:
147
147
148
148
def __init__(self,
@@ -168,7 +168,7 @@ class SingleGoodMarket:
168
168
return self.s_0 + self.s_1 * q
169
169
```
170
170
171
- ```python
171
+ ```{code-cell} ipython3
172
172
def plot_supply_demand(market):
173
173
174
174
# Unpack
@@ -210,14 +210,11 @@ def plot_supply_demand(market):
210
210
plt.show()
211
211
```
212
212
213
- ```python
213
+ ```{code-cell} ipython3
214
214
market = SingleGoodMarket()
215
215
```
216
216
217
- ```python
217
+ ```{code-cell} ipython3
218
218
plot_supply_demand(market)
219
219
```
220
220
221
- ```python
222
-
223
- ```
You can’t perform that action at this time.
0 commit comments