Skip to content

Commit 967d2c3

Browse files
committed
Add import
1 parent 2235e94 commit 967d2c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lectures/matsuyama.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Let's start with some imports:
4444
import numpy as np
4545
import matplotlib.pyplot as plt
4646
from numba import jit
47+
from ipywidgets import interact
4748
```
4849

4950
### Background
@@ -797,7 +798,7 @@ This interactive plot is disabled on this static webpage.
797798
In order to use this, we recommend to run this notebook locally.
798799
```
799800

800-
```{code-cell} python3
801+
```{code-cell} ipython3
801802
:class: no-execute
802803
803804
def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250):
@@ -816,7 +817,7 @@ def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250):
816817
return None
817818
```
818819

819-
```{code-cell} python3
820+
```{code-cell} ipython3
820821
:class: no-execute
821822
822823
fig = interact(interact_attraction_basis,

0 commit comments

Comments
 (0)