Skip to content

Commit

Permalink
matplotlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Robadob committed Mar 5, 2024
1 parent 615ae09 commit e992c15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion episodes/profiling-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ The default configuration of the Predator Prey model takes around 10 seconds to

Download and profile <a href="files/pred-prey/predprey.py" download>the Python predator prey model</a>, try to locate the function call(s) where the majority of execution time is being spent

*This exercise uses the package `numpy`, it can be installed via `pip install numpy`.*
*This exercise uses the packages `numpy` and `matplotlib`, they can be installed via `pip install numpy matplotlib`.*

> The predator prey model is a simple agent-based model of population dynamics. Predators and prey co-exist in a common environment and compete over finite resources.
>
Expand Down
4 changes: 2 additions & 2 deletions learners/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ This course uses Python and was developed using Python 3.11, therefore it is rec

<!-- Todo suggest using a venv?-->

The non-core Python packages required by the course are `pytest`, `snakeviz`, `line_profiler` and `numpy` which can be installed via `pip`.
The non-core Python packages required by the course are `pytest`, `snakeviz`, `line_profiler`, `numpy` and `matplotlib` which can be installed via `pip`.

```sh
pip install pytest snakeviz line_profiler[all] numpy
pip install pytest snakeviz line_profiler[all] numpy matplotlib
```

:::::::::::::::::::::::::::::::::::::::::::::::::::

0 comments on commit e992c15

Please sign in to comment.