Skip to content

Commit dc307b9

Browse files
committed
Turns out the trees heatmap didn't need flipping.
1 parent a67c554 commit dc307b9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

notebooks/99-bonus-edmonton-trees.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@
163163
" y = row.latitude\n",
164164
" i = bin_value(x, x_range[0], x_range[1], width)\n",
165165
" j = bin_value(y, y_range[0], y_range[1], height)\n",
166-
" # Need to flip the Y direction because heatmaps plot down ward?\n",
167-
" j = height - 1 - j\n",
168166
" tree_counts[i][j] += 1"
169167
]
170168
},
@@ -230,7 +228,7 @@
230228
],
231229
"metadata": {
232230
"kernelspec": {
233-
"display_name": "Python 3",
231+
"display_name": "Python 3 (ipykernel)",
234232
"language": "python",
235233
"name": "python3"
236234
},
@@ -244,7 +242,7 @@
244242
"name": "python",
245243
"nbconvert_exporter": "python",
246244
"pygments_lexer": "ipython3",
247-
"version": "3.8.6"
245+
"version": "3.10.6"
248246
}
249247
},
250248
"nbformat": 4,

0 commit comments

Comments
 (0)