Skip to content

Commit

Permalink
Fixed legend order
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Sep 2, 2018
1 parent 7efa917 commit 9ca0d52
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
39 changes: 20 additions & 19 deletions demo/World population.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/World population.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ And extract population information (and check total is right)

```python
population = data.loc[zones]['Population, total'].swaplevel().unstack()
population = population[zones]
assert all(data.loc['World']['Population, total'] == population.sum(axis=1))
```

Expand Down
1 change: 1 addition & 0 deletions demo/World population.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
# And extract population information (and check total is right)

population = data.loc[zones]['Population, total'].swaplevel().unstack()
population = population[zones]
assert all(data.loc['World']['Population, total'] == population.sum(axis=1))

# ## Stacked area plot with matplotlib
Expand Down

0 comments on commit 9ca0d52

Please sign in to comment.