Skip to content

Commit

Permalink
Add import
Browse files Browse the repository at this point in the history
  • Loading branch information
kp992 committed Nov 25, 2024
1 parent 2235e94 commit 967d2c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lectures/matsuyama.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Let's start with some imports:
import numpy as np
import matplotlib.pyplot as plt
from numba import jit
from ipywidgets import interact
```

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

```{code-cell} python3
```{code-cell} ipython3
:class: no-execute
def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250):
Expand All @@ -816,7 +817,7 @@ def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250):
return None
```

```{code-cell} python3
```{code-cell} ipython3
:class: no-execute
fig = interact(interact_attraction_basis,
Expand Down

1 comment on commit 967d2c3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.