Skip to content

Commit 468bdf1

Browse files
committed
Prepare for binder deployment
1 parent 3aef73e commit 468bdf1

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/scientificprogrammingUOS/lectures/master?urlpath=lab)
2+
13
# Lectures in Scientific Computing in Python
24
This repository contains all lectures from the course
35
*Scientific programming in Python* that is part of the Cognitive Science program
46
at the University Osnabrück. Each lecture is accompanied by a Jupyter notebook
57
that explains each topic with a combination of code and text. You
68
can view the notebooks directly on GitHub or run them locally and play
7-
with the code.
8-
9+
with the code. If you do not want to install anything, click on the Binder
10+
logo above to run all the notebooks in ready to use environment in the cloud.
911

1012
## Recordings
1113
All lecture recordings can be viewed on the Opencast platform.

binder/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-r ../requirements.txt
2+
-r ../week09-Statistical-Visualization/requirements.txt

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ jupyterlab >= 0.32
44
numpy
55
matplotlib
66
pandas
7-
plotnine
87
statsmodels
98
seaborn
109
pivottablejs
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
This lecture requires the module `plotnine`, which can be sometimes hard
22
to install on Mac or Windows. To install it run
33

4+
Try running
5+
6+
$ pip install -r requirements.txt
7+
8+
to install the latest development version. If that does not work, install
9+
the latest stable version instead.
10+
411
$ pip install plotnine
512

13+
Some code in the notebook does only work with the latest development version
14+
15+
16+

0 commit comments

Comments
 (0)