Skip to content

Commit a4ca006

Browse files
authored
binder configuration (#150)
1 parent c8eda0c commit a4ca006

File tree

3 files changed

+24
-8
lines changed

3 files changed

+24
-8
lines changed

binder/requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
jupytext
2+
plotly==4.2.0
3+
jupyter
4+
notebook
5+
pandas==0.23.0
6+
statsmodels==0.9.0
7+
scipy==1.1.0
8+
patsy==0.5.1
9+
numpy==1.16.0
10+
plotly-geo
11+
psutil
12+
requests
13+
networkx
14+
scikit-image

python/county-choropleth.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.6.7
23+
version: 3.7.3
2424
plotly:
2525
description: How to create colormaped representations of USA counties by FIPS
2626
values in Python.
@@ -37,16 +37,15 @@ jupyter:
3737
title: Python USA County Choropleth Maps | Plotly
3838
---
3939

40-
<!-- #region -->
4140
#### Required Packages
4241
`geopandas`, `pyshp` and `shapely` must be installed for this figure factory.
4342

4443
Run the following commands to install the correct versions of the following modules:
4544

46-
```
47-
pip install geopandas==0.3.0
48-
pip install pyshp==1.2.10
49-
pip install shapely==1.6.3
45+
```python
46+
!pip install geopandas==0.3.0
47+
!pip install pyshp==1.2.10
48+
!pip install shapely==1.6.3
5049
```
5150

5251
If you are using Windows, follow this post to properly install geopandas and dependencies: http://geoffboeing.com/2014/09/using-geopandas-windows/. If you are using Anaconda, do not use PIP to install the packages above. Instead use conda to install them:
@@ -55,7 +54,6 @@ If you are using Windows, follow this post to properly install geopandas and dep
5554
conda install plotly
5655
conda install geopandas
5756
```
58-
<!-- #endregion -->
5957

6058
#### FIPS and Values
6159
Every US state and county has an assined ID regulated by the US Federal Government under the term FIPS (Federal Information Processing Standards) codes. There are state codes and county codes: the 2016 state and county FIPS codes can be found at the [US Census Website](https://www.census.gov/geographies/reference-files/2016/demo/popest/2016-fips.html).

python/tree-plots.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.6.7
23+
version: 3.7.3
2424
plotly:
2525
description: How to make interactive tree-plot in Python with Plotly. An examples
2626
of a tree-plot in Plotly.
@@ -41,6 +41,10 @@ jupyter:
4141

4242
Install igraph with `pip install python-igraph`.
4343

44+
```python
45+
!pip install python-igraph
46+
```
47+
4448
```python
4549
import igraph
4650
from igraph import Graph, EdgeSeq

0 commit comments

Comments
 (0)