Skip to content

Commit 63ca748

Browse files
committed
re-add pysheds tutorial
1 parent 64a0ead commit 63ca748

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

data-science-for-esm/05-workshop-pysheds.ipynb

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -291,23 +291,6 @@
291291
"acc = grid.accumulation(flowdir)"
292292
]
293293
},
294-
{
295-
"cell_type": "code",
296-
"execution_count": null,
297-
"metadata": {},
298-
"outputs": [],
299-
"source": [
300-
"fig, ax = plt.subplots(figsize=(8, 4))\n",
301-
"im = ax.imshow(\n",
302-
" acc,\n",
303-
" extent=grid.extent,\n",
304-
" cmap=\"cubehelix\",\n",
305-
" norm=LogNorm(1, acc.max()),\n",
306-
" interpolation=\"bilinear\",\n",
307-
")\n",
308-
"plt.colorbar(im, ax=ax, label=\"Upstream Cells\");"
309-
]
310-
},
311294
{
312295
"cell_type": "markdown",
313296
"metadata": {},
@@ -457,9 +440,9 @@
457440
],
458441
"metadata": {
459442
"kernelspec": {
460-
"display_name": "",
443+
"display_name": "data-science-for-esm (3.13.2)",
461444
"language": "python",
462-
"name": ""
445+
"name": "python3"
463446
},
464447
"language_info": {
465448
"codemirror_mode": {
@@ -471,7 +454,7 @@
471454
"name": "python",
472455
"nbconvert_exporter": "python",
473456
"pygments_lexer": "ipython3",
474-
"version": "3.12.12"
457+
"version": "3.13.2"
475458
}
476459
},
477460
"nbformat": 4,

0 commit comments

Comments
 (0)